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

Re: [cobalt-users] How to look at pages befour they are live



Andrew <ajb@xxxxxxxxxxx> wrote:
> if  have a domain on the colbolt3 www.cliantsdomain.com how would I see it
> before it came live I tired http://IP.../user ect but no joy
> I can see my main site at the IP address but I need to see others

If a client wants their site live on the web before the domain name records point to
my name server in DNS, I do the following.  Create the site with a host of
"clientsdomain" and a domain of "mymaindomain.tld".  If you've already setup the
site, go back to teh GUI and make the change.  Then the site can be viewed at
clientsdomain.mymaindomain.tld.  Be sure to add an A record in your DNS also.  If you
are comfortable in the server shell, open httpd.conf, add a line: ServerAlias
www.clientsdomain.tld clientsdomain.tld in httpd.conf, then restart httpd.conf.  I
believe it's /etc/rc.d/init.d/httpd restart (from memory).

When the client's domain name is live in DNS, change the configuration in the GUI to
www.clientsdomain.tld and drop the ServerAlias lines.

Steven Werby {steven-lists@xxxxxxxxxxxx}