Question

Domain only working without "WWW"

Hi guys.

So I just add a new project and purched a new droplet, with a new version of Ubuntu (20.04).

I have installed the Hestia Control Panel, becouse I couldn’t install Vesta.

I tried to transfer my website from Vesta (installed on a Ubuntu 14.0) to Hestia (Ubuntu 20.04).

The problem is that now my website only works withou “www”.

When a try to acess with “www” shows me a page like:

“Success! Your new web server is ready to use.”

I have transfered the domain from one droplet to another and adjusted the DNS records as I always do on Vesta and on DigitalOcean DNS, with the CNAME and that kind of thing.

The interface of Hestia is a little bit different, but I dont know what i have done wrong.

Edit Web Domain Domain: iggi.com.br IP Address: 137.184.41.49

Statistics Authorization: Not checked Enable domain redirection: Not checked Enable SSL for this domain: Not checked

Edit DNS IMAGE HERE Record | Type| Priority | TTL | IP or Value @ NS 14400 ns1.digitalocean.com. @ NS 14400 ns2.digitalocean.com. @ A 14400 137.184.41.49 www A 14400 137.184.41.49 ftp A 14400 137.184.41.49 mail A 14400 137.184.41.49 smtp A 14400 137.184.41.49 pop A 14400 137.184.41.49 imap A 14400 137.184.41.49 @ MX 0 14400 mail.iggi.com.br. @ TXT 14400 “v=spf1 a mx ip4:137.184.41.49 -all” _dmarc TXT 14400 “v=DMARC1; p=quarantine; pct=100” webmail A 14400 137.184.41.49 ** * CNAME 1800 iggi.com.br. www CNAME 1800 iggi.com.br.**

DIGITALOCEAN Configuration IMAGE HERE

Type | _Hostname _______ | Value|TTL

CNAME|www.iggi.com.br_|is an alias of iggi.com.br______|1800 CNAME|*.iggi.com.br_|is an alias of iggi.com.br______|1800 A|iggi.com.br_|directs to 137.184.41.49________|3600 NS|iggi.com.br|directs to ns1.digitalocean.com.|1800 NS|iggi.com.br|directs to ns2.digitalocean.com.|1800 NS|iggi.com.br|directs to ns3.digitalocean.com.|1800


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.

Hi @igor_juliao,

First, I see there are two www records, one is an A record and the other a CNAME record, I’ll recommend removing one.

Additionally, there is a root CNAME record:

** * CNAME 1800 iggi.com.br.

Having a root CNAME record for your domain results in pretty inconsistent DNS issues so I’ll suggest removing that one as well.

Once you do, I’ll recommend checking the Configuration file on your Hestia Control Panel, does it include the www.domain or not?

Additionally, I can see you’ve posted one IP but at the moment your Domain loads from another.

One other thing I noticed is that you have an HTTP to HTTPS redirection on your website which comes as not secured. You might want to install Let’s Encrypt or any other SSL on your website.

Hi there,

I have just checked your DNS settings and they seem correct for both the www version and the non-www version.

However I’ve noticed that you currently have a 301 redirect for HTTP to HTTPS, but you do not have a valid SSL certificate installed. This is why you might get a connection refused or an SSL error when visiting your website via your browser.

What I would suggest is to install a free Let’s Encrypt SSL certificate so that you could be able to visit your website via HTTPS as well.

Let me know how it goes! Regards, Bobby