Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to access local WEB application with custom domain name by Holer

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how Holer implements the custom domain name to access the local WEB application". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how Holer implements the custom domain name to access the local WEB application".

Custom domain name to access local WEB application

If the WEB server is installed locally, how to access the local WEB application from the public network by customizing the domain name?

This article describes the specific steps to implement using holer.

1. Prepare work 1.1 install and start the WEB server

The default installed WEB port is 80.

1.2 apply for a domain name and complete the domain name filing

You can register and purchase domain names from domain name service providers such as Wanwang, Baidu Cloud, Tencent Cloud, Western Digital and so on.

The domain name registered and purchased with the domain name service provider must complete the domain name registration, otherwise the domain name cannot be used to access the website. For details, please refer to the filing process guidance document provided by the domain name service provider. For example, the domain name that you applied for and completed the registration is domaindemo.cn. In the following examples, this domain name is used as an example.

1.3 set up domain name resolution

Add domain name resolution to the service provider system where the domain name is located, and each domain name service provider system sets the resolution method similarly. Here, take setting the domain name resolution on the World wide Web as an example; in the domain name resolution settings, you can mainly fill in the parameters such as record type, host record, record value and other parameters, and use default values for other parameters.

Record type:

A-points the domain name to an IPV4 address

CNAME-point the domain name to another domain name

CNAME is recommended here.

Host record: the host record is the domain name prefix. Common uses are as follows:

Www: the resolved domain name is www.wdom.net@: and directly resolves the main domain name wdom.net. *: universal resolution, matching all other domain names * .wdom.net.

Enter @ here, that is, the primary domain name is resolved directly, and other host records can be added according to the actual needs.

Record value:

If the record type is CNAME, you need to enter the domain name: wdom.net

If the record type is A, you need to fill in the IP address: 121.196.199.47

After the resolution setting is complete, about 10 minutes later, you can use the command ping domaindemo.cn to check whether your domain name resolution is valid.

two。 Implement step 2.1 download and extract the holer package

Holer package: holer-xxx.tar.gz

Holer supports a variety of OS system platforms, please select the holer package that matches the local OS type.

2.2 get holer access key information

Apply for your own holer access key on the holer official website, and provide the domain name domaindemo.cn that you have filed with holer technical support personnel. Before providing a domain name, you must complete step 1.3 to set up domain name resolution.

For example, the holer information you applied for is as follows. Here we take the holer information as an example:

-Holer Client: holerdemo@gmail.comAccess Key: 6688daebe02846t88s166733595eee5d-Domain Name: domaindemo.cnLocal Address: 127.0.0.1 -2.3 start the holer service

Windows system platform:

Open the CMD console, go to the directory where the executable is located, and execute the command:

Holer-windows-xxx.exe-k 6688daebe02846t88s166733595eee5d

Linux or other system platforms:

Execute the command: nohup. / holer-xxx-xxx-k 6688daebe02846t88s166733595eee5d

2.4 access the mapped public network address

Enter your domain name directly into the browser and you can access the local WEB from the public network.

Http://domaindemo.cn

Thank you for your reading. the above is the content of "how Holer implements custom domain names to access local WEB applications". After the study of this article, I believe you have a deeper understanding of how Holer implements custom domain names to access local WEB applications, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 204

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report