Reputation: 9627
I have site at pythonanywhere.com Now for example I can see it here 100hp100ar.pythonanywhere.com.
I have bought domain name mydomain.com and want to link it. I have read this help page about domains without www:
www.pythonanywhere.com/wiki/NakedDomains I was told that I should
Use an A record for yourdomain.com
The A record has to be an IP address -- use the one associated with yourusername.pythonanywhere.com
(This solution suits me more than solution with redirecting cause redirecting costs money) But how can I know the ip adress associated with 100hp100ar.pythonanywhere.com? Will
ping 100hp100ar.pythonanywhere.com
which gives me
50.19.109.98 Be the stuff I need?
Upvotes: 2
Views: 781
Reputation: 1913
Instead of ping
, you can try running host yourdomain.com
, dig yourdomain.com
or nslookup yourdomain.com
.
These will return something like
yourdomain.com is an alias for yourusername.pythonanywhere.com
If you have everything set up correctly. Also note that it takes time for DNS changes to propagate (so after making the changes at your DNS registrar, don't expect the host
commands to reflect that change right away even if you have set everything up correctly)
Upvotes: 1