Introduction: this is a problem. Why did you come here to ask? On the details page, we will introduce PHP, related knowledge, skills, experiences, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 327671 'rolling = 'no'>
Check your Domain Name Server
If you use someone else's, you don't need to do anything.
Call the recipient to tell him what IP address you want to resolve.
If you have your own domain name, the first thing you need to do is that the Domain Name Server for your domain name is your machine.
For example, in the aaa.com registration information, the Domain Name Server is ns1.aaa.com.
After confirming, create your own DNS Server
The server name is NS1 and the domain name is aaa.com.
Win2k or NT directly add DNS service in Windows Components
Then, a DNS controller is added to the management tool on the control panel.
Open. Right-click the local machine and choose [Right-click all options by default]
New Domain, aaa.com
New Host NS1 ip Your IP
Then you can create a WWW server.
The www ip address of the new host is your www ip address.
Restart DNS
OK
Linux or Unix-like
Machine name NS1, domain aaa.com
Then install bind. the default option is usually available in the release kit.
After the installation, configure the named service
/Etc/named. conf
Add the local region as follows:
Options {
Directory "/var/named ";
};
Zone "."{
Type hint;
File "named. ca ";
};
Zone "aaa.com "{
Type master;
File "aaa.com ";
};
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 ns1.aaa.com.
aaa.com. the IP address of the in a DNS server or any other IP address can be
IP address of the NS1 in a DNS server
IP address of the WWW in a WWW server
Restart the DNS Service
This is done.
"Ha, why did you come here to ask? More Articles
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/327671.html pageno: 12.