How to set the server domain name?

angryTom
Release: 2023-02-28 10:38:01
Original
9726 people have browsed it

How to set the server domain name?

How to set the server domain name

We purchased the server, how to access the server through the domain name, this requires setting Domain name resolution, resolve the domain name to the IP address of the server.

Next, use the Alibaba Cloud Wanwang domain name console to demonstrate how to resolve it.

1. Open the Alibaba Cloud website and log in to the management console, then click the domain name menu on the left to enter.

How to set the server domain name?

2. In the domain name console, select the domain name we need to resolve, and click Parse to enter the parsing settings page.

How to set the server domain name?

3. Then on our domain name resolution settings page, click the Add Resolution button on the right.

How to set the server domain name?4. Then fill in the corresponding information on the add parsing page. The default record type is A. The host record uses www. The parsing line does not change. The record value is the cloud we purchased. The public IP assigned by the server and the TTL value remain unchanged. After filling them in, click Confirm.

How to set the server domain name?

Wait a moment and you can access our server through the domain name. Here it is accessed through www.domain name.com. If you want to access through domain name.com , you need to add another A record, fill in @ for the host record, and leave the others unchanged.

For more PHP related knowledge, please visit PHP Chinese website!

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template