[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] looking at a site before domain is transferred
- Subject: Re: [cobalt-users] looking at a site before domain is transferred
- From: "Clint Decker" <nim1998@xxxxxxx>
- Date: Thu Oct 26 21:37:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I found that the FASTEST and Easiest Way to do this is to add an alias in
the httpd.conf file.
Here are the steps:
login to telnet and su to root.
type pico /etc/httpd/conf/httpd.conf
Go down to a domain name <VirtualHost workingdomain.com> that works,
Preferably your main domain.
Add this line in between <VirtualHost workingdomain.com> and </VirtualHost>
Alias /newdomain/ /home/sites/site10/web/
Now... when you goto the domain that works on the server, and goto the
/newdomain/ folder, it will look in the documents folder of the domain that
isnt working yet.
www.workingdomain.com/newdomain/
Make sure you restart the httpd server:
[root@www]# /etc/rc.d/init.d/httpd restart
MAKE SURE you add a trailing slash "/" at the end of the foldernames.
Otherwise stuff will mess up.
Also.. keep in mind that www.workingdomain.com/newdomain is DIFFENT than
www.workingdomain.com/newdomain/
Hope that helps.
Clint