V
V
ViktorGuerro2019-03-28 20:07:32
Domain Name System
ViktorGuerro, 2019-03-28 20:07:32

How to attach a domain name to your hosting (server)?

Now there is Windows Server 8, it hosts a site with a domain name, there is a static address from the provider. Everything works, but xs how, they did before me.
And now you need to simultaneously install Windows Server 2012 R2 on a separate machine, deploy a site on 1C-Bitrix via Hyper-V, of course with access via the Internet. It has already been possible to deploy Bitrix on Hyper-V, but it can only be accessed at a local address. How to fix a domain and access from the Internet to it? What are the action steps? If you explain a lot, then briefly show the direction of study and you can link to the material for study.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TyzhSysAdmin, 2019-03-28
@ViktorGuerro

Forward a port to the server (IP -> Firewall -> NAT)

add action=netmap chain=dstnat dst-port=80 in-interface=***WAN_INTERFACE*** protocol=tcp to-addresses=***IP_SERVER*** to-ports=80
add action=netmap chain=dstnat dst-port=443 in-interface=***WAN_INTERFACE*** protocol=tcp to-addresses=***IP_SERVER*** to-ports=443

If you have two services on different IPs (within the network), then accordingly you need to ensure the processing and proxying of requests - NGINX

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question