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

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



The could use their windows hosts file to access the site without
making any changes to the server.  The hosts file is checked before
DNS servers so if they set up their www.domain.com in the hosts file
they can surf it just like it was in DNS

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Richard Kurth
Sent: Monday, August 27, 2001 4:02 PM
To: H. Farmani
Subject: 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

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