Does anyone have any specific articles about the specific and detailed process of deploying static pages to the server and going online to the website?

I want to do the process from writing a page to accessing the finished product online through a domain name. Do not use any blog system (wordpress) quickly build this kind of framework. Now I have a server for vultr"s Linux (CentOS 7) system, which was originally used to build SSR.




I don't know how detailed the detail you are talking about. Let me briefly talk about my process. This assumes that your page is complete.
if you want to access through a domain name, you first need to apply for a domain name from a domain name service provider, such as Wanwang and Xinwang.
Domain names need to be registered after registration, and all domestic domain names need to be registered.
after the domain name registration is completed, use the service provider's domain name console to resolve your server's public network IP,. Below is the domain name resolution console of Aliyun Wanwang (picture from the network, intrusion and deletion)

this process is not timely and may take 5 minutes to a few hours. After successful resolution, you can access your server through your domain name.
then how to access your page.
upload your static page file to the server first, and you can specify which folder it is.
install a web container (web server) on your server. For example, after nginx and apache, are installed, specify a root directory, which is the directory of your static pages and specify the home page.
the root directory, home page, and so on are configured in the configuration file of the web container.
finally starts the web server, listens to port 80 by default, and responds to the request.

this is the general process, such as how to apply for a domain name, how to install the web container, how to configure the root directory and home page, and so on. If you explore this process, you will remember it more deeply.

the above is my foolish opinion, if there is anything wrong, please correct


how did your local server start? It is very simple for online servers to install a nodejs and start a service, such as http-server npm install and then bind with
online multiple domain names IP out of the box.


do you have any requirements for the back-end language? the pagoda panel I use is installed in vps with one click, and lamp,ftp is set up foolishly, which is quite suitable for rookies.


if you're just building a blog, you can use tools like hexo, build a good topic, then write the article directly in md, and then directly generate a static page and upload it. There is no need to buy a server, just hang it to github-pages, or hang it in domestic coding pages,coding. I think the tutorial is very detailed, just look at it and do it. If you still want the backstage, you can cooperate with hexo-admin, in fact, there are quite a lot of HeadlessCMS , so you can take a look at it when you choose the model.

Menu