Linux binds a domain name, such as modifying the hosts file to bind a domain name IP address in windows. Windows linux binds a domain name hosts file. in windows, you only need to modify the C: WindowsSystem32driversetchostshosts File (open it with Notepad) in LINUX, how does one bind a
corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on inpidual# lines or following the machine name denoted by a '#' symbol.## For example:## 102.54.94.97 rhino.acme.com # source server# 38.25.63.10 x.acme.com # x client host# localhost name resolution is handled within DNS itself.127.0.0.1 www.test.com
The Nginx + php configuration can access the domain name using an IP address, but it cannot be my nginx. conf file.
#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; #log_format mai
I installed an Apache on the virtual machine, and after deploying a WordPress, I mapped the domain name on the local host hosts file.
such as 192.168.123.123 LI.YYY.ABC
After logging in to Li.yyy.abc/phpmyadmin, the browser still displays the domain name,
But after logging in li.yyy.abc/wordpress, the browser is 192.168.123.123/wordpress? Why, how can I display a doma
Use the Hosts file for domain name resolution, how to log on to the domain name website after the browser address does not display IP
I installed an Apache on the virtual machine, and after deploying a WordPress, I mapped the domain name on the local host hosts file.
such as 192.168.123.123 LI.YYY.ABC
After logging i
I explained the level two domain name on the IP, when the level two domain name did not let him visit the main station address
This post was last edited by Liaohongchu on 2012-11-21 16:42:50
Like the main station www.xinqq163.com/index.html. I made a level two domain name tm.xinqq163.com also explained on the
Tag: Address Web server port Create DDE Environment Multi-site pre profilepache是一款Web服务器软件,有多种产品,可以支持SSL技术,支持多个虚拟主机。它快速、可靠并且可通过简单的API扩充,将Perl/Python等解释器编译到服务器中。实验环境一台linux6.5,ip为192.168.10.20.,DNS服务器ip地址为192.168.10.20;一、创建虚拟目录配置1、进入主配置文件设置2、写入网页内容3、去访问网页4、创建虚拟目录5、使用http://192.168.10.20/test/进行访问二、搭建虚拟主机同端口同Ip不同域名1、创建文件写入内容2、创建网站目录写入内容3、安装DNS并设置主配置文件4、区域数据文件设置5、进入
APACHE configures multiple domain names with the same IP address, so you should be familiar with web development. However, let's make a summary to avoid forgetting this in the future!The following describes how to perform the operation:1. install APACHE under windows2003 to configure the virtual directory, which is basically the same as that in UNIN. It is to modify the httpd. conf file (Apache2 \ conf \ ht
#!/usr/bin/env pythonimport reimport osimport timeimport randomip_current = ' while True: Myip = Re.findall (R ' \d+\.\ D+\.\d+\.\d+ ', Os.popen (' Curl-s http://ddns.oray.com/checkip '). Read ()) print time.strftime ("%y-%m-%d%h:%m:%s" print ' current public IP is ', Myip if Myip and Myip! = ip_current: print ' current public IP have changed '
ip_current = Myip webinfo = Os
Get the local IP address, Mac, get the corresponding IP through the domain name,Is the more common operation that network programming may encounter, so it is summarized as follows (3 functions are encapsulated),Directly on the code :#include Test RunThe results are as follows:Linux C Network Programming-Get local IP ad
In oracle, how does one obtain the local IP address and the domain name based on the IP address ?, Oracleip----- Resolve the ip addressSQL> select utl_inaddr.get_host_address ('Google. com') from dual;UTL_INADDR.GET_HOST_ADDRESS ('Google. com ')---------------------------------------------------------------------------
-dns-a.google.com Sql> Select Utl_inaddr.get_host_name (' 10.80.18.210 ') from dual;Select Utl_inaddr.get_host_name (' 10.80.18.210 ') from dual*ERROR at line 1:Ora-29257:host 10.80.18.210 UnknownOra-06512:at "SYS. Utl_inaddr ", line 4Ora-06512:at "SYS. Utl_inaddr ", line 35Ora-06512:at Line 1 Sql> Select Utl_inaddr.get_host_name (' 10.80.19.210 ') from dual;Select Utl_inaddr.get_host_name (' 10.80.19.210 ') from dual*ERROR at line 1:Ora-29257:host 10.80.19.210 UnknownOra-06512:at "SYS. Utl_
PHP handles ping commands to get the IP of the batch domain name
PHP to handle also OK, other I will not, then use it, call the system command is to use exec, first look at the introduction:
ReferenceEXEC--Execute an external programDescriptionString exec (String command [, array output [, int return_var]])
EXEC () executes the given command.
Parameters
CommandThe command that would be executed.
Outpu
DNS is a domain name resolution system, it can convert IP to domain names, but also to convert domain names to IP
1. Install DNS Service
Start-〉 Settings-〉 Control Panel-〉 Add/Remove Programs-〉 Add/Remove Windows Components-〉 "network Services"-〉 select "
In daily life, people often know the host domain name without knowing the host IP address, and the socket API is based on IP address, so need to use DNS domain name resolution server to parse.So the first simple introduction of the principle of DNS, DNS server system is tree-based structure, the top-level
I am using a sniffer tool called Dnsquerysniffer, which can display real-time DNS query records for local computers, and for each DNS resolution query, display the following information: Host name, port number, query ID, request type, request response time, response code, etc. and returns the contents of the DNS record. Domain name added to the Hosts file, Dnsquerysniffer will no longer detect the domain na
We will encounter a lot of malicious IP attacks when using, this time will use Nginx prohibit IP access. Let's take a look at Nginx's default virtual host when users access through IP, or through an unnamed domain name (such as when someone points his own domain name to your
0x00
Take advantage of the summer Kungfu, the first time to learn Python, the biggest feeling is that this language is the best language I have ever seen. Especially its powerful class library and simple syntax.
I have nothing to do, today I write a small ip in Python to check the domain name tool.
IP counter-Search is the IP
Today to set a ban on the Nginx IP access to the server, only through the domain name access, this is to avoid other people to the record of the domain name resolution to their own server IP and cause the server was disconnected from the network to the following solutions:
Nginx's default virtual host takes effect wh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.