Darko_Kantic
asked on
set up virtual hosts in centos 5, using subdomain
CentOS release 5.5 (Final)
Using command line I want to set up another site on exsisting server, hosted by ukfast. Main site is
www.fridaysmove.com
I want to set up another site using subdomain
www.cms.fridaysmove.com
so I addes this to httpd.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin bruceclothier@syntarsus.co .uk
DocumentRoot /var/www/cms
ServerName www.cms.fridaysmove.com
ErrorLog logs/cms.fridaysmove.com-e rror_log
CustomLog logs/cms.fridaysmove.com-a ccess_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin bruceclothier@syntarsus.co .uk
DocumentRoot /var/www/html
ServerName www.fridaysmove.com
ErrorLog logs/cms.fridaysmove.com-e rror_log
CustomLog logs/cms.fridaysmove.com-a ccess_log common
</VirtualHost>
www.fridaysmove.com
works fine
but
www.cms.fridaysmove.com
is not
Do I need to do anything else
Using command line I want to set up another site on exsisting server, hosted by ukfast. Main site is
www.fridaysmove.com
I want to set up another site using subdomain
www.cms.fridaysmove.com
so I addes this to httpd.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin bruceclothier@syntarsus.co
DocumentRoot /var/www/cms
ServerName www.cms.fridaysmove.com
ErrorLog logs/cms.fridaysmove.com-e
CustomLog logs/cms.fridaysmove.com-a
</VirtualHost>
<VirtualHost *:80>
ServerAdmin bruceclothier@syntarsus.co
DocumentRoot /var/www/html
ServerName www.fridaysmove.com
ErrorLog logs/cms.fridaysmove.com-e
CustomLog logs/cms.fridaysmove.com-a
</VirtualHost>
www.fridaysmove.com
works fine
but
www.cms.fridaysmove.com
is not
Do I need to do anything else
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi, is this still an issue?
ASKER
no thanks, this was long time ago
ASKER
So I have to wait till tomorrow for that, once that is done, question is: Do I need to do anithing else at the server level? apart of adding virtual host entries in to httpd.conf file