Tags: enter targe. com interface Settings link time settings eclipse altNicecui
This article declined to reprint, if necessary to obtain the author's consent, thank you.
This article link: http://www.cnblogs.com/NiceCui/p/
Email: [Email protected]
Date: 2017-11-18
Configure the domain name, port number, startup time using the Eclipse on
server.
"DocumentRoot": Specifies the root directory for storing web pages on the Apache server. "servername": allows users to set their own host names. This name will be sent to the remote connection program, to replace the real name of the Apache server host.
If the server has two IP addresses (172.16.3.40 and 172.16.3.50) corresponding to the domain
name" effect is achieved, while the port ING of the router only achieves "automatically forwarded to the specific port of the corresponding server based on different ports ", it's really great.Knowledge: nginx compilation and installation, basic configuration of nginx Reverse proxy, knowledge of routing Port ing, and knowledge of network domain
!
Other
When looking for relevant information, the discovery basically adds this step, that is, in the httpd.conf file, find this paragraph:
Options FollowSymLinksAllowOverride NoneOrder Deny,allowDeny from all
Modify it to:
Options FollowSymLinks IncludesAllowOverride NoneOrder Deny,allowAllow from all
But I did not change and can have effects, if the above steps do not achieve the desired results, you may try to add this step.
The above content is this article to everybody to introduce
a specific subdomain, such as www.example.com or myblog.example.com. The cname record cannot map the root domain itself, nor can it perform wildcard ing, such as "* .example.com ".
Record type-specify the cname record.
Record value-this is the location of the specified service DNS name. For example,Example.cloudapp.net.
If you are prompted to specify the TTL value for the record, you can acc
Compile and install the LAMP environment with source code and configure multiple virtual hosts Based on Domain Name access
Lab environment and software version:
CentOS version: 6.6 (2.6.32.-504. el6.x86 _ 64)Apache version: apache2.2.27Mysql version: Mysql-5.6.23Php version: php-5.3.271. Disable firewall: service iptables stopChkconfig iptables offIi. Disable sel
Use the Tomcat plug-in on eclipse to configure the domain name, port number, and startup time.
By NiceCui
This document is not reposted. If you need to reposted, you must obtain the author's consent. Thank you.
Link: http://www.cnblogs.com/NiceCui/p/7856284.html
Email: moyi@moyibolg.com
Date:
Use the Tomcat plug-in on eclipse to
Install the LNMP environment by source code compilation and configure multiple virtual hosts Based on Domain Name access
Lab environment and software version:
CentOS version: 6.6 (2.6.32.-504. el6.x86 _ 64)
Apache version: nginx-1.6.2
Mysql version: Mysql-5.6.23
Php version: php-5.6.3
1. Disable firewall: service iptables stop
Chkconfig iptables off
Ii. Disable
Cainiao O M notes: configure the Apache second-level domain name and WWW access
In fact, www access is also a type of second-level domain name.
Modify the http. conf file
Add
If you want to configure www access for your
XAMPP Apache uses domain name access
First, find/opt/lampp/etc/httpd.conf:
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
Remove the # number in front of the Include etc/extra/http-vhosts.conf (I've removed the above)
Ii. Modification of/opt/lampp/etc/extra/httpd-vhost.conf
If my profile is as follows:
Third, modify/etc/hosts, add
127.0.0.1 dev.mansys.comI have the following:
127.0.0.1
During web development, you usually need to access websites in the local environment using http: // localhost or 127.0.0.1. However, if there are more websites on the local machine, you have to perform other operations, such as port settings. The results are hard to remember.
I am using a local ubuntu + nginx environment. nginx allows multiple domain names to be set. You only need to point to different storage locations. Then, how should we set a
In web development, it is often necessary to visit a site in the local environment, such as http://localhost or 127.0.0.1. However, if there are more local sites, you have to do something else, such as port settings. The results are not easy to remember.I use the local Ubuntu+nginx environment, Nginx allows to set up multiple domain names, only need to point to a different storage location. So, how do you set up a
Configure multi-domain name resolution in apacheApache is one of the most popular http server software. It is famous for its fast, reliable (and stable) nature and can be expanded through simple APIs, the perl/python interpreter can be compiled to the server for free, and the source code is all open. If you have your own server or vps tutorial and do not want to
Although we have been able to access the local site through localhost, in order to improve the grid, we can modify the host file, set a favorite domain name to point to the local site, it is not more tall.Clear requirementsThe configuration allows us to access the local Web site via http://a.com.Modify HostWindows users inC:\Windows\System32\drivers\etcThe file named hosts is found in the directory. Due to
: This article describes how to configure the nginx virtual domain name in linux. if you are interested in the PHP Tutorial, refer to it. 1. configure the nginx virtual domain name
Example
Virtual
;Fastcgi_param script_filename $document _root$fastcgi_script_name;Fastcgi_param script_name $fastcgi _script_name;}}Save exit, the other two virtual host definitions are similar to the above and are no longer written.Edit nginx.conf:VI nginx.confInclude vhost/*.conf to open nginx virtual machine function before the first server tag inside the HTTP moduleCreate virtual machine root directory at root: mkdir/web/{bbs,blog,www}To grant Nginx permission to read the permissions to perform the virtual
: This article describes how to configure domain names on wamp. For more information about PHP tutorials, see. You can also configure multiple domain names and directories. Shield website ads ~~
1. findApacheFind the httpd. conf file in the installation directory. for example, the directory I installed is C: \ wamp \
However, for ordinary personal sites, to date has not been said to use the SSL domain name certificate, but some similar to the consumer interaction and account security class site must be used, even if not for the site in search engine experience needs, but also the user's information is responsible. In previous posts, Lao left also shared several configurations of SSL
Serveralias www.dummy-host.example.com
Errorlog "Logs/dummy-host.example.com-error.log"
Customlog "Logs/dummy-host.example.com-access.log" common
All this stuff is erased and checked.
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "e:/www/yl/"
ServerName www.1y.com.cn
Errorlog "Logs/dummy-host2.example.com-error.log"
Customlog "Logs/dummy-host2.example.com-access.log" common
Options Indexes FollowSymLinks
AllowOverride None
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.