I have a dedicated server on a webhosting company "not godaddy", and I manage my domains through godaddy.
I want to add a new subdomain and want this domain to point to a certain folder in my website.
I tried to add a new record : mysubdomain -> www.mywebsite.com/subfolder but godaddy appeared a message that this is not a right formate.
How to do this?
alt text


In website hosting context, DNS only maps domain names to server addresses with A (or AAAA) records. Basically that is like telling the system "I want this domain to be hosted by that hoster.".

Everything beyond this is done by your hoster. When you open domain.com or sub.domain.com in a browser, the connection can be done to the same server, but different content will be presented, as the webserver can distinguish between these two cases.

Without further information about your hoster this question cannot be answered.


If you are using IIS, you will want to check out the web.config settings or for Apache .htaccess settings. You can test this out from a windows machine by modifying C:\Windows\System32\Drivers\etc\hosts and adding the IP address to test it as this is much quicker than waiting the hour for the IP address to be changed on the different servers and finally reach you. Not sure how to do it on Mac or Linux though...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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