2

A friend asked me to help them with a new website on a subdomain that has a different host than the main domain.

The domain is registered with Host A, the name servers point to Host A, however the CNAME for the main domain points to Host B. A subdomain has been created and "points to" its subdirectory (i.e. folder123). However, the host does not have a typical cpanel, it's oversimplified and I can't see that that "points to" record is. Either way, the subdomain is not bringing up the new website in the folder.

So do I need to create a CNAME record for the subdomain that point to the folder on Host A? Or would I get Host A's IP and create a A record to that?

1 Answer 1

1

For DNS of domain.com add: sub.domain.com. 14400 IN A IP_OF_NEW_SERVER

2
  • 1
    Thanks for throwing in! I am not sure why this question did not get any attention. The system flagged this as a low quality post because of it's size. In your answer, you have not addressed the CNAME record for the subdomain that point to the folder on Host A part of the question. Basically, the answer is that a CNAME cannot point to a folder and that the web server configuration would have to be modified. But how?? IIS or Apache? I always assume Apache since that is common and what I know. Cheers!!
    – closetnoc
    Apr 23, 2016 at 23:23
  • Good point. From my perspective - folder was unclear - so I've decided to say what I know... That means if you need subdomain on separate host - put that entry to DNS - and perhaps that explanation was missing.
    – user63360
    Apr 24, 2016 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.