Host Website
GitHub Pages
This method is free, but fundamental understandings of html, javascript and css are required to create the static websites. Github only supports static websites only, dynamic websites hosted by php, python, etc. are not applicable.
Server Method
- Buy a domain name from Wix, GoDaddy or Cheapname.
- Make your server with a fixed ip address. (ip address is not fixed, whenever the power supply of Wifi router is off, it can reset the ip address. )
- Map ip address to a dns name.
- Run local server hosting the website, either npm, python flask or php server.
- Use load balancer nginx to map dns name to loopback ports.
- Might need ssh tunnel to do port forwardings.
- Might need to install firewall, dns server, etc.
Web Services Method
- Easiest Method: WordPress
- Traditional Method: Replicate Procedures mentioned above
- Github Page Method: only static
- S3 Method: only static
- Heroku Method: can host dynamic website
Special Terms
- LAMP: Linux Apache2 MySQL PHP
- WAMP: Wordpress(Windows) Apache2 MySQL PHP
- MERN: MongoDB ExpressJS ReactJS NodeJS
References