Urgent: how to use sendmail to send mail with multiple domain names-Linux Enterprise Application-Linux server application information. The following is a detailed description. LINUX beginners. Please help me!
HOST 1: IP address 10.63.121.100, domain name linux.lgm.com, MX: lgm.com
Host 2: IP address 10.63.121.200,
After the Tomcat server is built, it is recommended that you bind the domain name to the server. The binding method is as follows: Domain binding requires editing the Tomcat configuration file to complete. The Tomcat configuration file is the installation directory for Tomcat Tomcat_home/conf/server.xml,tomcat_home.The original configuration file is as follows:Modify the above content to:The modified meanin
apache2.2.x version1. Note The doucumentroot in the master configuration file/etc/httpd/conf/httpd.conf" /var/www/html "2. Remove the main configuration file namevirtualhost the previous comment, add the local host name192.168. 136.131:3. If the servername is commented, or the default is localahost:80 or 127.0.0.1:80, it will be an error, but does not affect the use of the virtual host" stopping httpd: [ OK
DescriptionSite A domain: www.weba.com site A path: D:\website\webaWebsite b domain: www.webb.com website B path: D:\website\webbPublic host ip:111.222.333.444Both site A and site B are on hosts with IP 11.222.333.444, and are now required to access site A through www.weba.com and visit site B through www.webb.com.Implementation method:1. Open iis--"Right click on the website"-"add site, set as shown, click
Similar to the Apache virtual Host configuration under Windows platform, the only difference here is that the apache2 (installed through Apt-get) in Debian is in/etc/apache2
This article a space to teach you to implement multiple IP based on 127.0.0.* (Common network IP) to control the local virtual host, B space to teach you to implement a virtual host based on multiple domain names
The advantage of a is n
One server installed Apache, how to bind multiple domain names or websites?The simplest and most efficient method is as follows:1. First open the Apache configuration file httpd.conf, in this file,Find this sentence:#Include etc/extra/httpd-vhosts.conf(The path above will vary slightly depending on the installation path)Remove the previous #, that is, the use of virtual host to open the function;
At present, the Linux operating system is very popular, so many friends want to know about the implementation process of virtual domain names in Linux. Next we will discuss it based on the popular RedHat.
Iii. cgi
Program Compilation
To apply for a virtual domain name online, you must write the corresponding CGI program to dynamically modify the independent
For example, the Host IP address is 192.168.1.1.
There are three domain names on your host:
Www.a.comPut webpage files in E:/web/www/1
Www. B .comPut webpage files in E:/web/www/2
Www.c.comPut webpage files in E:/web/www/3
Add httpd. conf to Apache
# Set different domain
Tomcat deploys multiple war package projects and configuration domain names
1. First, package the war project. First, use DOS to enter the project's root directory cd E:/XXX project/
2. Package command jar cvf XXX project. war */. (You can package all the jar files under lib or put the Jar files under lib to tomcat)
3. Okay. Here is our deployment.
3.1 put the pr
Introduction: This is a detailed page for configuring multiple domain names under the same IP address. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 327027 'rolling = 'no'>
1. Open c: \ appserv \ apache2.2 \ conf \ httpd. conf, find include CONF/extra/httpd-vhosts.conf, and remo
Dynamic domain names cannot be pinged. Solution
When using the peanut shell software, the dynamic domain name corresponds to a new IP address after the dial-up, but the client still corresponds to the old IP address when pinging the domain name, so the Ping is always unavailable. Solution:
1. Open the "service" t
* to "namevirtualhost your server IP Address"3. There is a VM format at the end of the file,# # Serveradmin [email] [email protected] [/Email]# DocumentRoot/www/httpd/html/minidx.com# Servername minidx.com# Errorlog logs/minidx.com-error_log# Customlog logs/minidx.com-access_log common# Add:DocumentRoot usr/local/www/(default website path)Servername: Your Server IP AddressDocumentRoot usr/local/www/minidx.com/(website path)Servername minidx.com (your domain
The firmware for the router is dd-wrtTo register a dynamic domain name on the freedns.afraid.org, if the default port cannot use 80, you need to configure the URL forwarding function of level two domain name.The measured 2 months were stable.In addition, in order to prevent the host IP address update frequently, you can perform a cron scheduled command in the bac
Sincerely ask for advice. Friends who have rented space and domain names to build their own tests or practiced hand or development sites, to recommend and introduce rented server space.
Title
PHP for more than a year, slow growth. Recently feel the bottleneck period, want to build a website to practiced hand and test
But some of the suppliers found on the internet are not satisfactory, mixed with a lot of
"/>3, the client test. ()1.) Setting up the client1.1) Renaming a client650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6D/5A/wKioL1VikHHwQyAhAAB1SHaJhx4829.jpg "title=" 8.PNG " alt= "Wkiol1vikhhwqyahaab1shajhx4829.jpg"/>1.2) Modify the IP for the client650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6D/5A/wKioL1VikHugSoNmAAE-6i-jVTM566.jpg "title=" 9.PNG " alt= "Wkiol1vikhugsonmaae-6i-jvtm566.jpg"/>1.3)ping- through server650) this.width=650; "src=" http://s3.51cto.com/w
PHP methods for obtaining domain names
// Method 1 (using system variables)
// Disadvantage: Do not use the passed address or host that does not support system variables
Echo $ _ SERVER ['http _ host'];
// Method 2 (using built-in functions)
$ Url = 'http: // www.51php.net/index.php? Referer = 51php.net ';
Apache Virtual host is a kind of consent on the same machine, execute more than one site solution, at the same time will be able to Bondi two-level domain name to the specified folder. There are two types of virtual hosts. One is called IP-based (ip-based), and there is a name-based (name-based).The existence of a virtual host is transparent to the user.Say the name-based (name-based), IP-based. Please self-help Baidu. For example, this http://www.cnb
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.