Home > Backend Development > PHP Tutorial > Ha, why did you come here to ask? Come in and see_PHP Tutorial

Ha, why did you come here to ask? Come in and see_PHP Tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-13 17:12:37
Original
836 people have browsed it

It depends on your domain name server
If you use someone else’s, you don’t need to do anything
Just call the other party and tell them what IP you want to resolve to
If it’s your own, then the first thing you need to do is your domain name The domain name server is your machine
For example: the domain name server in the aaa.com registration information is ns1.aaa.com
After confirmation, create your own DNS server
The server name is NS1, and the domain it belongs to is aaa. com
WIN2K or NT, just add the DNS service directly in the WINDOWS component
Then there will be an additional DNS controller in the management tool of the control panel
Open it, right-click on the local machine, [Default all selections are right-click Menu]
Create a new domain, aaa.com
Create a new host ns1 IP your IP
Then you can create a WWW server
Create a new host www IP which is your WWW IP
Re- Start DNS
OK
Linux or UNIX-like
Machine name NS1, domain aaa.com
Then install BIND. Generally, there are default options in distribution kits
After installation, configure the NAMED service
/etc/named.conf
plus the local domain, its content is as follows
options {
directory "/var/named";
};
zone "." {
type hint;
file "named.ca";
};
zone "aaa.com"{
type master;
file "aaa.com";
} ;
Then create a new domain file:
/var/named/aaa.com
Content:
aaa.com. IN SOA ns1.aaa.com. hostmaster.ns1.aaa.com (
2000120820
3600
900
1209600
43200 )
aaa.com. IN NS 1 .aaa.com.
aaa.com. IN A DNS server IP or other All can be done
ns1 IN A DNS server IP
www IN A WWW server IP
Restart DNS service
This way it’s over

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629336.htmlTechArticleIt depends on your domain name server. If you use someone else’s, you don’t need to do anything. Call and tell the other party that you want to resolve it. Any IP can be your own, then the first thing to do is the domain of your domain name...
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