+ 3

How do I host my webpage?

I need to create a server to make a public blog page, using HTML, CSS and JavaScript in my laptop, but I don't have any idea. I know it is easier hosting my page in another website because it's dangerous to open my computer in the internet. But I'm making this for educational porpose and there aren't important archives in my computer. By the way, is it possible doing it on an android phone?

19th Mar 2019, 7:36 PM
I_am_L
I_am_L - avatar
4 odpowiedzi
+ 11
If you are using wlan you need to do a thing called port forwarding. Because wlan can have multiple devices on it, all of them share the same public IP. With port forwarding, you open ports in your wlan firewall. It will forward all requests made to a specific port to your PC or IPv4 address. You can do this in your router gateway. You can see your IPv4 and gateway addresses by typing ipconfig in cmd. Windows should have common ports like 80 and 3306 open by default. But with linux you also need to open them from its own firewall. If you're using ufw sudo ufw allow 80 Start a web server.
19th Mar 2019, 7:55 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Можно в хостронавте: hostronaut.ru, Но есть другие места для хостинга. You can use the hostronaut: hostronaut.ru, But there are other places to host.
27th Mar 2020, 6:34 PM
Арсений Аринкин
Арсений Аринкин - avatar
+ 1
На ANDROID можно, у меня правда не работает, не факт что у других нет. On ANDROID, you can, I really do not work, not the fact that others do not.
27th Mar 2020, 6:37 PM
Арсений Аринкин
Арсений Аринкин - avatar
+ 1
Нет размещать комп в интернете как сервер где то кажется можно, но комп будет медленно очень работать. There is no to place a computer on the Internet as a server where it seems possible, but the computer will work very slowly.
27th Mar 2020, 6:41 PM
Арсений Аринкин
Арсений Аринкин - avatar