Domain settings

Today in this domain when it came to setting a few questions, the first is to buy the domain name, then the domain name of the server configuration (right after the domain name is not purchased gets the job done, but also to re-configure the server where it can be).
One problem: how to buy a domain name and configuration (Ali cloud)
the first few domain names are purchased from Tencent cloud, Ali goes back in thought, or purchased (see to their own, which door doorway that I am not really understand) .

  1. First you have to Dengrueli cloud directly with their PayPal login just fine;
  2. After a successful purchase a domain name, click on the console of the domain name, click on the resolution. As shown below:
    Here Insert Picture Description
  3. Then add the record:
    Here Insert Picture Description
  4. Add two major
    Here Insert Picture Description
    and successful domain name and set up:

In addition to this also set on the server side (the situation here is not set up virtual hosts, and we need can go online to look for), this is set directly in the configuration environment (profile directory: etc / httpd / httpd. conf

  1. The file servername change your domain name
  2. Adding a hostname to the IP server localhost, as follows:
    Here Insert Picture Description

After this, you can access your server directly to the site through the domain name it!

Published 41 original articles · won praise 6 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_42224330/article/details/104078282