Загрузка страницы

Set Custom Domain Name for localhost Website in IIS

Set Custom Domain Name for localhost Website in IIS/ Windows Srv 2022
i need to link this custom domain with my iis site (change localhost to real live domain name II).my goal is making my website accessible from any network.

1-create website using IIS Server
2-set index.html as default
3-edit hosts file.
*The hosts file is a plain text file used to map host names to IP addresses. On Windows, it is located in the C:\Windows\System32\drivers\etc folder
*Modifying your hosts file enables you to override the domain name system (DNS) for a domain on a specific machine. DNS management is useful when you want to test your site without the test link prior to going live with SSL, verify that an alias site works prior to DNS changes, and for other DNS-related reasons

4-add 2 A Records to your public IP Address:
@ your public ip
www your public ip

The A-record or Address Record provides information about the IP address of your host / domain name. For example, it is the link between the name of your website and the IP address of the server on which your files are located

you dont need to edit your NS on your domain panel. Note: If you edit your NS, you cannot benefit from your A records ...(at least with this provider IONOS)

Name servers translate the domain name into an IP address, connecting information that's easy for humans to understand with information that's easy for computers to understand. You can think of the process like a map

5-i will make my device "Windows Server 2022" accessible from outside using ipv4
6-Open port 80 in your firewall. the recommendation is that all servers meant for general web use should offer both HTTP on port 80 and HTTPS on port 443. keeping port 80 open in order to serve a redirect helps get people to the right version of your site (the HTTPS)

Видео Set Custom Domain Name for localhost Website in IIS канала linux-syr
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
11 февраля 2022 г. 22:17:06
00:06:31
Яндекс.Метрика