[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] NameBased Hosting: Viewing a site with IP only



Hello H.,

Friday, August 24, 2001, 4:30:41 PM, you wrote:

H. Farmani> In Name based hosting is there a way to view a domain before
H. Farmani> it is added to the DNS by the servers IP number and the path
H. Farmani> of the files?

H. Farmani> We have a lot of clients that want to move their site and
H. Farmani> make sure it is working on our server before they change
H. Farmani> their DNS to us. We have not been able to give them a URL to
H. Farmani> do that.

H. Farmani> _______________________________________________
H. Farmani> cobalt-users mailing list
H. Farmani> cobalt-users@xxxxxxxxxxxxxxx
H. Farmani> To Subscribe or Unsubscribe, please go to:
H. Farmani> http://list.cobalt.com/mailman/listinfo/cobalt-users


Insert this line in your httpd.conf (mainsite)

AliasMatch ^/newsite/([^/]+)(/(.*))? /home/sites/$1/web/$3

Then restart apache - after that, you can access all new named based
sites with:
www.maindomain.com/newsite/www.newdomain.com



-- 
Best regards,
 Richard  
mailto:rkurth@xxxxxxxxxxxx