Link to home
Start Free TrialLog in
Avatar of Darko_Kantic
Darko_KanticFlag for France

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-error_log
    CustomLog logs/cms.fridaysmove.com-access_log common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin bruceclothier@syntarsus.co.uk
    DocumentRoot /var/www/html
    ServerName www.fridaysmove.com
    ErrorLog logs/cms.fridaysmove.com-error_log
    CustomLog logs/cms.fridaysmove.com-access_log common
</VirtualHost>


 www.fridaysmove.com

works fine

but
 www.cms.fridaysmove.com

is not

Do I need to do anything else

ASKER CERTIFIED SOLUTION
Avatar of Papertrip
Papertrip
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Darko_Kantic

ASKER

Ukfast just told me that I need to add subdomain with the domain registrar, which is mistral

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
Hi, is this still an issue?
no thanks, this was long time ago