DEV Community

Cover image for Hosting of naked domains with SashiDo
Vesi Staneva for

Posted on • Originally published at

Hosting of naked domains with SashiDo

If you build a website and map it to a custom address such as, you can make it even easier for people to reach your site by typing simply That web address without the www is called naked domain.

These days in the cloud era hosting of Naked domains with providers like SashiDo, Heroku, OpenShift and others it is a bit tricky, but not impossible.

You can simply do this by redirecting your naked domain address to the

How to do it?

There are few easy ways to do it:

  • Check out whether your DNS provider supports naked domains redirection.
  • Buy a cheap VPS, install a webserver with redirection rule and add an A record to your DNS with the IP of the VPS.
  • Use any other service that can do the things above. I'll suggest you one :)

Meet redirect service for naked domains

Today I would like to show you the easiest way to handle the challenge with the naked domains

The only thing you should do is go to your DNS provider and add the IP address (the current IP address is as an A record to your naked domain. See how the operation will look like if your domain is and you are using AWS Route53 DNS Service.

After filling in the IP address you just click on save and you are done. That's it!

How to test whether it is working?

The change you have made can take some time, because it depends on your TTL DNS settings. If you are using MacOS or Linux you can simply use nslookup or dig commands.

See how:

$ dig
; <<>> DiG 9.8.3-P1 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29329
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;          IN  A

;; ANSWER SECTION:       59  IN  A

;; Query time: 69 msec
;; WHEN: Thu Nov 30 17:29:15 2017
;; MSG SIZE  rcvd: 42
Enter fullscreen mode Exit fullscreen mode

Depending on your domain name if you see a line similar to this one, it means that you're in the game!       59  IN  A
Enter fullscreen mode Exit fullscreen mode

If you don't like the black screen of the terminal you can always use some web service to check this out:

Features of gowww

Just in brief see what gowww will do for you.

  • When you open your it will redirect to
  • When you open your but with https gowww will automatically issue a SSL certificate with Let's Encrypt and will redirect to

Yes, I know. This is boring stuff and yes, gowww saves us a lot of time.


That's it, guys. I hope that this article has saved you a lot of time in digging and searching for a solution or doing stuff you don't like :)

If you are a SashiDo customer and you want to host your website or take a look at this tutorial:

Top comments (4)

dineshrathee12 profile image
Dinesh Rathee

LetsEncrypt have revoked around 3 million certs last night due to a bug that they found. Are you impacted by this, Check out ?




veselinastaneva profile image
Vesi Staneva

Thank you for your note! So far we haven't received any indication our users have been impacted. Let's Encrypt reported it is only 2.6% of the active certificates that are affected, so chances are not that big. Still, it is an unpleasant bug and thankfully they have fixed it fast.

dineshrathee12 profile image
Dinesh Rathee

Yeah they definitely did a great job :)

mixoglad profile image

Gowww saves time for Devs.. Try it out ๐Ÿ˜‰๐Ÿ‘๐Ÿ‘