Nginx with IP multi-domain server configuration, how little brother I configured no role

Source: Internet
Author: User
Tags domain server
Nginx with IP multi-domain server configuration, how does my configuration have no effect?

Is the configuration of my virtual server and requires a different directory on the same server as the domain name request. For example www.123.com specify to 123 directory, www.456.com to 456 directory, change how to do? Have no effect at all, or access the root directory of the server.
In addition, I just configure the nginx.conf, the other has not changed, is there any other configuration or?
------to solve the idea----------------------
I don't know what your problem is, your two posts are not clear.

Nginx itself is a proxy server for web portals to coordinate the operation of Web servers such as Apache, IIS, etc.
It's just that he can mount PHP, so the average person uses it as a Web server.

If the multi-domain configuration is not successful (in fact, Apache, IIS have multi-host capabilities)
Then you should first explain the phenomenon of unsuccessful, multi-domain can not access, or have access to the same place
------to solve the idea----------------------
Domain name resolution is correctly pan-resolved to server IP
  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.