Forums

How do I use godaddy domain and use web2py hosting for it on pythonanywhere?

Explain stepwise. Also does pythonanywhere provide domain? If yes, does it provide at the same rate?

We don't sell domains, so you'd need to buy one from GoDaddy. Once you've done that, you need to:

  • Create a website on PythonAnywhere using an address at the domain name you've bought, eg. www.yourdomain.com. You'll need a paid account to do this.
  • On GoDaddy, set up a CNAME record with the "Alias" of "www" and the "Points to host name" value set to a value that will be shown to you on the PythonAnywhere "Web" tab after you've completed the first step.

Once that's done, if you type in "www.yourdomain.com" into a browser, you'll get your app. (Though it can take a few minutes for DNS changes like creating CNAMEs to filter through.)

What if you type yourdomain.com would that work? (Without the www)

You need to setup a redirect from yourdomain.com to www.yourdomain.com at your dns registrar (eg where you had registered for your domain name)