Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upload the website to the cloud server

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How to upload the website to the cloud server? I believe that many inexperienced people are at a loss about this, so this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

To make a website, you need not only a cloud server, but also a domain name, which you need to buy by yourself. Registered domain names and servers can be purchased from different service providers, but it is best to choose one for easy management, such as providing domain names and server services.

Domain name filing and resolution

The website set up by the CVM in mainland China should be put on record, and the domain name should be resolved after completion. Log in to the service provider that purchased the domain name, open the control panel of the domain name, and then parse it. When parsing, two items are generally parsed. The first one is to enter www in the location of the host name and the public network IP of the server in the location of the resolution value. Second, enter @ in the hostname location and server public network IP in the resolution value location.

Remotely connect to the server

After logging in to the CVM, download phpstudy, install and run it. If the Apache is red, the port is occupied and port detection is required. Click other options menu-Environment Port Detection-Environment Port Detection, and then detect Port-try to force the shutdown.

After phpstudy is installed, click other options menu-site Domain name Management to add your domain name. The first domain name is written with www and the second domain name is written without www. You will choose the folder where you put the source code of the website. The source code of the website can be found online, and then click add, save. Make sure that port 80 of the CVM is not occupied.

After reading the above, have you mastered how to upload the website to the cloud server? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report