Link to home
Start Free TrialLog in
Avatar of Curtis Long
Curtis LongFlag for United States of America

asked on

Quick subdomain question

I have two really quick and (hopefully) easy questions relating to subdomains in apache2 / ubuntu.

First, can I have two virtualhosts listen on the same port if one is for a subdomain and one is for the main domain?

Second, how do I configure a subdomain in the DNS control panel for godaddy?
I added this record to my CNAME section
*host*          *points to*                      *ttl*
sub	          sub.example.com	              1hr

Open in new window

Is that correct?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Khandakar Ashfaqur Rahman
Khandakar Ashfaqur Rahman
Flag of Bangladesh 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 Curtis Long

ASKER

Thanks! As soon as I created the A record everything started working :)