Forums

Using subdomain without www

Good day I created subdomain for my backend "api.my-domain.com" and want to connect it to pythonanywhere. I updated CNAME record recently, is it possible to use subdomain without "www" part? Example: https://api.my-domain.com -> pythonanywhere web not https://www.api.my-domain.com

Yes, that's absolutely fine. CNAMEs can go on any subdomain, and there's no technical distinction between www.my-domain.com and api.my-domain.com -- they're both just different subdomains of my-domain.com. CNAMEs only cause problems if you want to use the "naked" domain my-domain.com.

thank you :)