Take the 2-minute tour ×

I want to add an A record www.mydomain.com/customer and point it to say 123.456.789.001 where www.mydomain.com is my domain.

When i tried to enter the value i am getting an invalid host name error and on doing a little check i found that "/" is not allowed.

But my domain reseller service wants me to add an A record with the host name as www.mydomain.com/customer How do i manage it?

Is it even possible to add an A record which has a / in it?

share|improve this question

migrated from stackoverflow.com Oct 23 '12 at 8:27

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 5 down vote accepted

DNS is not HTTP. It knows nothing about URLs. It only deals with domain names.

Therefore, adding an A or CNAME record that refers to a portion of your domain won't be possible. A record applies to the whole domain. If /customer is intended to be on a whole other server, then consider a subdomain like customer.mydomain.com. (Any DNS host that's worth the money you pay them will let you add records for subdomains besides "www".)

share|improve this answer
My DNS host allows me to add subdomains and i have added the customer.mydomain.com pointing to the IP address i was given but now I get a server not found error. I understand that it is normal for the DNS propagation to take some time.. how long do you suppose it will take for it to resolve? Is there any other way to find out if the settings worked? –  Rick Roy Oct 22 '12 at 17:14
It is resolved and loading now thanks :) –  Rick Roy Oct 22 '12 at 17:18

Your Answer


