Access your computer server through the Internet

Source: Internet
Author: User

Sometimes we want to access services such as FTP and Apache from the Internet, while our servers are in the Intranet (through the router ), in this case, you can map the vro to access your computer from the Internet.

For example, we have built an FTP server on our computer. The IP address of our computer is 192.168.1.101. Other computers on the same vro can use ftp: // The address 192.168.1.101 is used to access the FTP server we set up, but it will not work on the Internet. At this time, we need to map the vro port.

1. You need to set up your own ftp or Apache server locally and make sure it can run. That is, it can be accessed through the Intranet.

2. query your own Internet IP address, which can be queried through the ip138 website, for example, 222.69.37.32.

3. Enter 192.168.1.1 in the browser to enter the vro settings, and set it in the forwarding rules Virtual Server

4. Fill in the port number on the Service port. For example, set FTP to 21, Apache to 80, and IP address to your intranet IP address (192.168.1.101 in this example). Save the configuration.

5. At this time, you can access your computer through the Internet, for example, FTP server: ftp: // 222.69.37.32, you can access your FTP server. The same principle applies to Apache servers.

If your Internet IP address is not fixed and you want to access your computer from the Internet through a fixed domain name, you need to get a domain name at this time, direct the domain name to your computer. Generally, home routers are integrated with dynamic domain name support (ddns). First, you can apply for a free second-level domain name from the ddns provider (such as peanut shells and dnsdynmic, then enable ddns support in the vro, and set the applied second-level domain name to access your computer through this domain name.

If you do not want to use the second-level domain name of the ddns provider and want to use your own independent top-level domain name, add a cname record for your independent top-level domain name to point to the free second-level domain name you applied. After you access this cname, the DNS server will check the IP address resolved by your free second-level domain name and return the IP address to the client.

Access your computer server through the Internet

Related Article

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.