Question

cPanel Alias Domain not working without www.

Hey guys,

so I am new to this, or rather just recently gotten back into this. My name is Daniel and I am currently active in the Netherlands.

I would greatly appreciate your help with a couple of probably stupid sounding questions, I have some gaps in my knowledge.

I am running a Droplet with cPanel, at the moment I added an Alias domain.

  1. I had to enable remote domains in order to do so although I am using my own nameservers. Not a big issue, but how come this doesn’t work without?

  2. The www.mydomain.com is working properly but without the www. it won’t… i can’t figure out why not. Any clues?

Help is greatly appreciated.

Daniel

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @ryanpq:

You mentioned setting up remote domains but also that you are using your own nameservers. Do your nameservers point to your droplet or are you managing DNS elsewhere? If cPanel is not creating DNS records used by your domain you will need to add the following to your DNS settings for this domain to ensure that they are directed to the same location whether they come via www or not.

@     CNAME    www

Also, cPanel licenses do include basic support from cPanel. I would recommend reaching out to them as they will be able to help you best when figuring out a configuration issue related to cPanel.

View the original comment