Linux server domain name configuration

Linux installation and configuration tomcat: http://www.cnblogs.com/ysocean/p/6959814.html

The IP can be accessed and the domain name can be pinged but cannot be accessed:

    1. Record the ip of the DNS server assigned by the domain name;

    2. vim opens the file: vi /etc/resolv.conf

    3. Insert a line: nameserver ip of the dns server

    4. Restart the network service:  service network restart


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325526607&siteId=291194637