문제

The normal url to my website is :

http://<username>.pythonanywhere.com

Is there a way to to access the site using the IP address of the pythonanywhere server, something like :

http://50.19.109.98/~<username> 
도움이 되었습니까?

해결책

You can. You can hit http://50.19.109.98 and set the host header to <username>.pythonanywhere.com. Otherwise the webserver (that serves a large number of sites) has no idea which site you're trying to access.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top