Forums

Web dev account -- can I have two domains "usernameA.pythonanywhere.com" and "usernameB.pythonanywhere.com"

Sorry, I don't know the exact terminology for the domains ending in .pythonanywhere.com

I'm not really interested in buying my own domains but I'm curious whether I can pick my own name for a domain ending in pythonanywhere.com such as "heitorscoolapp.pythonanywhere.com".

The Web dev Account allows two web apps, it looks like the first app can be hosted in "heitor.pythonanywhere.com"

Is it possible for the second web app to be accessible in "heitorscoolapp.pythonanywhere.com"? (a custom name that is a subdomain of pythonanywhere.com?)

Unfortunately not -- websites of the form XXX.pythonanywhere.com (technically, subdomains of pythonanywhere.com) are reserved to users with the corresponding usernames. We are considering adding on support for websites like webapp-ZZZZZZ.pythonanywhere.com where ZZZZZ is a number; perhaps a useful extension of that would be to support things like myfirstsite.heitor.pythonanywhere.com, mysecondsite.heitor.pythonanywhere.com and so on?

Would support for these subdomains (or sub-subdomains like firstsite.heitor.pythonanywhere.com) be available in the near future? If not, I'll go look for a domain elsewhere and use heitor.pythonanywhere.com for the second app.

Probably not in the near future, no. The webapp-ZZZZZZ.pythonanywhere.com option will probably come quite soon, but I guess that's less useful if you want URLs you can pass on to other people!

Is the option of webapp-ZZZZZZ.pythonanywhere.com available yet? I have just setup my second app, which is just for development issues. It would be usefull to connect it like webapp-ZZZZZZ.pythonanywhere.com instead of seting up my own domain.

It's available and it's <whatever>-<username>.pythonanywhere.com

Yes, but how can it be used? When I try to name my app webapp-xxxxxxx.pythonanywhere.com it says "The only .pythonanywhere.com address you can register is myusername.pythonanywhere.com" - which is the name of my first app.

In the example you provided 'xxxxxxx' should be your username, so if you want a web app name prefixed with "webapp", it should look like "webapp-Beisshase.pythonanywhere.com".

No. My 1St app is: myUsername.pythonanywhere.com - fine.

To set up my second app I am supposed to use an external domain like ww.mydomain.de and install an DNS entry saying: CNAME: webapp-[7digitsnumber].pythonanywhere.com.

Isn't it possible to use my second app direktly on webapp-[7digitsnumber].pythonanywhere.com without any external domain or DNS entry. How can I accomplish this?

I'm a little bit confused by what you're trying to do. The warning message you described before was shown to you when you tried to rename an existing web app. You can have two web apps on your account, and one of them can be called something-Beisshase.pythonanywhere.com. If you want to you can use a custom domain as well, which to be set up correctly at the registrar, needs a CNAME provided (webapp-[7digitsnumber].pythonanywhere.com). You can't use a CNAME of your PythonAnywhere web app as a name for that (or other) web app though.