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

Re: [cobalt-users] forwarding



> for example i have an existing site which 'site1.com' i just acquired
> another domain which is 'site2.com' .
> 
> my question is how can i add a site in my raq4 that if go to 'site2.com' i
> can see the same content of my 'site1.com'.


There are a couple of options - the following might be the easiest in your case:

- add site2.com with the GUI interface
- telnet/SSH into the server, then change to the root user (su -)
- cd to /etc/httpd/conf
- make a backup copy of httpd.conf
- edit httpd.conf, and change the DocumentRoot setting for site2.com to
  be the same as for site1.com (eg. /home/sites/site501/web)
- restart the httpd server

Details on each of these (su, cd, edit and restart) can be found by searching on
http://google.com for cobalt and the relevant term (restart apache, etc).

The other is to use the ServerAlias option (also in httpd.conf) ....

rgrds, and good luck,

Johan

http://host24.com
Your site. Every
time.

---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/