please help,
i like to add another domain to my server and to do so are these the right steps ? and if not , please post the right way to do so.
note:
sharing same IP
1) make new folder to store htdoc files, lets call this "www2"
2) edit " httpd.conf " from
Quote:
#<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www1/
# ServerName apartment107.net
# ErrorLog logs/apartment107.net-error_log
# CustomLog logs/apartment107.net-access_log common
#</VirtualHost>
|
to
Quote:
<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www1/
# ServerName apartment107.net
# ErrorLog logs/apartment107.net-error_log
# CustomLog logs/apartment107.net-access_log commoncommon
#</VirtualHost>
<VirtualHost *>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www2/
# ServerName other domain.net
# ErrorLog logs/other domain.net-error_log
# CustomLog logs/other domain-access_log commoncommon
#</VirtualHost>
|
is this it ?