Forums

Adding pythonanywhere to domain name

So I've registered a domain name at domain.com and want it to redirect to the web app for a website I have on pythonanywhere.

My dashboard states that the custom domain isn't working and indeed it doesn't when I go to the website as shown here. So I followed the steps in setting up a custom domain, and added the webapp address to the DNS Records at domain.com as shown here. In the bottom of the page you can see the DNS entered with all the others that were there before.

Going to the website still doesn't work. I realize it can take some time, but I'm just wondering if I may be doing something wrong?

From the help page:

CNAME records have two parts. The Alias and the Canonical Name. The alias in this case should be www. The address should be the value from the "Web" tab -- the one like webapp-XXXX.pythonanywhere.com.

Different DNS providers call them different things.

Alias: domain name, alias name, host, or just "name"

Canonical Name: the address, FQDN, Fully Qualified Domain Name, points to, or Host Name.

So the name should be rather "www" than "pythonanywhere".

So it should be like this? The DNS records look as such (there are now two names with "www"). Does this look okay?

The site loads sometimes, but other times it shows this:

enter image description here

Is this because I just changed it and it has some kinks to work out, or is it because of this setting in pythonanywhere?

enter image description here

The only other thing I can think of is that I have the name configured to "www.chris4cornelius.com" instead of just "chris4cornelius.com". Not sure if that could mess it up?

enter image description here

It all works now!

Thanks for the help! :)

Excellent, glad to hear you worked it out!