Forum Moderators: phranque

Message Too Old, No Replies

help www.maindomain.com/example.com show example.com without DNS

         

ferko

3:20 pm on May 13, 2011 (gmt 0)

10+ Year Member



i have main domain on my server

www.maindomain.com

many domains are on this server and i need to show what is on other domains

www.maindomain.com/example.com
this will show example.com, but in browser will be www.maindomain.com/example.com
path is: /var/www/example.com/web

i need it because some people have sites on other server (some webhosting company), DNS is set to that server, but if they want to go to my server, they need to see and set their sites sooner as all is redirected to my server.

What is best solution in apache for this? Is it possible to do it for all sites automaticly?

g1smd

8:38 am on May 14, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes this is possible, and is a question that is asked several times per month.

There are several hundred prior threads with example code with detailed reasoning already posted.

ferko

11:51 am on May 14, 2011 (gmt 0)

10+ Year Member



can you write me link? i can not find it :-(