0
Hello, how can I host a simple trial website from an Android phone?
I am learning HTML and CSS and would love to share my trial site with mentors but I'd still like to have real time editing abilities.
5 Réponses
+ 1
I think it has to do with ISP and DNS.
I guess it is not possible to portforward with dynamic ip, since dynamic ip leases the ip from a list.
So at one point there will be a conflict
0
If your website don't have back-end you can try free services like Github Pages. If it has then you'll need a server or a web hosting service.
Hosting directly from your device is usually impossible because you don't have public IP address.
0
Hi Simon, the following points will accomplish your goal.
1.Download Server for PHP(or any other localhosting app) in the google playstore.
2.Use a text editor to create your website.
https://www.sololearn.com/discuss/1446530/?ref=app
3.Insert your website files/folders inside the public,www folder that is provided by the localhost app.
4.Dont to forget to do "Portforward" at your local router. (port 80:8080:443 will only work if im right)
Now anyone in the world can visit your website, internal and external
: {http://Your-IP:Your-Port/path-to-your-index}
May I ask why you dont configure A Rpi, arduino or any microcontroller to do those tasks?
0
Vincent Berger, as far as i know that won't work if router's ip address is dynamic or hidden behind ISP's NAT
0
Yeah, but if that is author's first experience with web hosting i'd rather recommend to start with VDS