Home  >  Article  >  Operation and Maintenance  >  How to bind domain name in centos?

How to bind domain name in centos?

coldplay.xixi
coldplay.xixiOriginal
2020-07-28 16:27:595409browse

How to bind a domain name in centos: First enter the DA management interface, click on the previously bound domain name; then click on Create a new site, enter the new domain name that needs to be bound; then click on the new domain name just bound, Enter the management interface, open the file manager and enter the [public_html] root directory; after the final upload is completed, unzip it to the root directory.

How to bind domain name in centos?

How to bind a domain name to centos:

1. First enter the host management interface and enter the DA management interface. Click Site Management, click the previously bound domain name, and then proceed to the next step!

2. Then click to create a new site, enter the new domain name, traffic and space capacity that need to be bound, check the same as the main account, click Create to bind an additional new domain name.

3. Next, click on the new domain name just bound to enter the management interface, open the file manager, enter the "domains" folder, find the newly added domain name, click to enter the "public_html" root directory, and upload The same data as the previously bound domain name.

4. After the upload is completed, unzip it to the root directory "public_html". The domain name resolution points to the same server IP. After it takes effect, click Open and multiple domain names will be bound to the same virtual host for content browsing. it's the same!

5. If you need to change the domain name, click to enter the currently bound domain name, modify the domain name of the site, fill in the new replacement domain name, and click Modify to complete the previous change and binding of the domain name!

Related tutorial recommendations: centos tutorial

The above is the detailed content of How to bind domain name in centos?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn