Create a website so that Internet users can view the content of the website over the intranet.

Source: Internet
Author: User
An existing server can access both the intranet and internet, or be accessed by the Internet, and is bound with a domain name. There is a website on the intranet that you want to allow Internet users to access (assuming the user is killed without using a VPN), as shown below. Intranet website address, for example, 192.168.1.2index.php, can be accessed by an Internet user. an existing server can access both the intranet and internet, or be accessed by the Internet, and is bound with a domain name. There is a website on the intranet that you want to allow Internet users to access (assuming the user is killed without using a VPN), as shown below.

The intranet website address is shown in figurehttp://192.168.1.2/index.php
Internet users access my servershttp://mydomain.me/index.phpYou can see and perform operations on the same page as the intranet, and it will be reflected on the intranet (within a few minutes, it is best to do so in real time ).

A similar solution is provided to facilitate understanding:When an internet request is sent, the server passesHttpRequestRequest the corresponding address of the intranet (that is, the content after the domain name)index.phpFull joinhttp://192.168.1.2/), And then192.168.1.2Partially changed to your own domain name. In this way, html content is forwarded.

It doesn't matter if the image is not converted. However, this website does not only support a single request, but also requires logon... I have no choice.

There are not many web experiences. I don't know if it's complicated. I hope you can give me some advice ~

I just thought of a new idea, but I don't know whether it is feasible. if I have such experience, I hope I can provide some guidance and provide some keywords. Thanks again:

  1. Allow users to provide their logon account and password for "queuing Reservation ".
  2. In addition to the web service, the server runs two more programs, one for processing the reservation queue, and one for logging in with their account and password to remember the specific items to be entered in the intranet.
  3. After completion, you can enter a page for the user to fill in based on the requirements obtained above.
  4. Fill in the "waiting for processing queue ".
  5. The other program processes the results in the "waiting for processing queue" one by one and fills them in the intranet server.

Reply content:

An existing server can access both the intranet and internet, or be accessed by the Internet, and is bound with a domain name. There is a website on the intranet that you want to allow Internet users to access (assuming the user is killed without using a VPN), as shown below.

The intranet website address is shown in figurehttp://192.168.1.2/index.php
Internet users access my servershttp://mydomain.me/index.phpYou can see and perform operations on the same page as the intranet, and it will be reflected on the intranet (within a few minutes, it is best to do so in real time ).

A similar solution is provided to facilitate understanding:When an internet request is sent, the server passesHttpRequestRequest the corresponding address of the intranet (that is, the content after the domain name)index.phpFull joinhttp://192.168.1.2/), And then192.168.1.2Partially changed to your own domain name. In this way, html content is forwarded.

It doesn't matter if the image is not converted. However, this website does not only support a single request, but also requires logon... I have no choice.

There are not many web experiences. I don't know if it's complicated. I hope you can give me some advice ~

I just thought of a new idea, but I don't know whether it is feasible. if I have such experience, I hope I can provide some guidance and provide some keywords. Thanks again:

  1. Allow users to provide their logon account and password for "queuing Reservation ".
  2. In addition to the web service, the server runs two more programs, one for processing the reservation queue, and one for logging in with their account and password to remember the specific items to be entered in the intranet.
  3. After completion, you can enter a page for the user to fill in based on the requirements obtained above.
  4. Fill in the "waiting for processing queue ".
  5. The other program processes the results in the "waiting for processing queue" one by one and fills them in the intranet server.

Nginx Reverse proxy

Can it be understood that a program binds two domain names?

I tried nginx forwarding.

    server {        listen       80;        server_name  tt.me;        location / {            proxy_pass http://t.me;        }    }

Yes :)

Intranet ING is also acceptable. intranet penetration. you can use Baidu to check the relevant content.

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.