Web Hosting Talk







View Full Version : accessing virtual domains


Whitesell
04-18-2002, 11:50 AM
Hi,

After setting up a new virtual named-based site sharing the main IP of a RAQ4, how can I access the site? I know I can get to the site's Site Management page of the CP with this:

http://maindomain.com:81.cobalt/siteManage/www.brandnewsite.com/

So I'm thinking there should be a way to get to the new site's /web directory.

Anyone know the correct string for the URL?

Thanks,

Jim Whitesell

SixthSense
04-22-2002, 06:07 AM
put the domain name and the ip in your hosts file at ur workplace and you will be able to browse and ftp it. i do that all the time :)

mhosang
04-22-2002, 07:47 AM
put this in your httpd.conf file in the virtual host entry for yourdomain.com:

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


Now, you can access virtual sites through http://www.yourdomain.com/newsite/www.newdomain.com