Can i set a CNAME to a server with a path

Posted June 23, 2019 925 views
DigitalOceanUbuntu 18.04


I’m transferring my NS to DO.

My old NS provider had the option to do a CNAME forwart not just to an I.P, but to an IP with a mapping (eg.

I don’t seem to be able to do this with the DO CPANEL, or am i mistaken ?


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there Michael,

Unfortunately, that isn’t how CNAMEs work, it is likely that your old provider was simply abstracting their own redirection service through those CNAME records.

To achieve this, you would need to set up your own redirection/mapping on a web server which you can then point the CNAME to.

Hope that helps.
- Matt.