Web Hosting Talk







View Full Version : Url


Chris
06-02-2001, 09:56 AM
When setting up a domain on a RAQ4i, what is the server URL to the domain.

for example, I setup www.domain.com but the DNS for the domain is not changed over yet, and I want to view my website still.

like the URL for CONTROL PANEL is:

http://www.domain.com:81/.cobalt/siteManage/www.domain.com/

anyone know the URL for the webpage, not the control panel?

Dim8
06-02-2001, 10:44 AM
Well.. really you can't view the site unless it has it's own dedicated IP. However, if you add the following code to your <virtualhost> section in the httpd.conf (for your domain) you can view ALL sites by going to yourdomain.com/hosts/www.domain.com

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


That way your clients can preview their domain before it transfers over. =)

broken
06-02-2001, 10:46 AM
What you're looking for is covered in this post:
http://www.webhostingtalk.com/showthread.php?threadid=11446
Works like a charm. :D

-----
Woops beat me to it :eek: