Report this

What is the reason for this report?

Can i set a CNAME to a server with a path

Posted on June 23, 2019

Hi.

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. www.example.com/application)

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

/Michael



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.