Forums

CNAME for GoDaddy

I have made a website and hosted it on pythonanywhere free account and now I want to upgrade my account so that I can use custom/own domain name as I don't know about what is CNAME and DNS I have stuck what to do next. WEBSITE NAME --> https://pythonist.pythonanywhere.com/ what should be the CNAME of these website. PLEASE HELP.

And want my new domain on my existing webapp which is https://pythonist.pythonanywhere.com/

One more question, can I add Google Adsense Add on my custom domain or upgraded account's website

Note : I am a beginner so my question will felt stupid please bare me and HELP I want an urgent help

So if you want to use your own domain name, first you need to buy it from GoDaddy. Then change the webapp on PythonAnywhere from pythonist.pythonanywhere.com to www.mycustomdomain.com. Then that will give you a CNAME that you can use back at GoDaddy to setup the www cname record there. See this page for full details.

Hello sir,

I have purchased a Domain Name from GoDaddy. Domain name is "https://techroadmap.in/"

Sir now what to do? For example:

  • Type is CNAME
  • Sir what should I write in Host: "www.techroadmap.in" or "techroadmap.in" or "https://techroadmap.in/" ??
  • and the last is points to webapp-0000.pythonanywhere.com

Sir above details that I will write in GoDaddy.

The next step is in pythonanywhere web app name

What should I write in the web app name??

You should create the website on PythonAnywhere first; that will give you a value for the CNAME that will be similar to webapp-0000.pythonanywhere.com but will have numbers different to 0000. Its name should be "www.techroadmap.in"

Then, on GoDaddy, the Name should be "www" and the Value should be the hostname provided to you on the "Web" page inside PythonAnywhere once you've created your website there.

Thank you for your information Now it is working

I am facing one more problem This URL "https://www.techroadmap.in/" is taking to my website, but this URL "https://techroadmap.in/" is not taking to my website.

In Web Tab, what should I write in the web app. should I write "techroadmap.in" or "www.techroadmap.in" ?

I hope my doubt is clear.

Your current configuration is correct; to use the "naked" domain you will need to set up a redirect -- I recommend using NakedSSL.