Windows server 16 with a website

Tia Rojas 1 Reputation point
2021-05-24T21:29:47.213+00:00

My windows server 16 has: IIS, DNS and active director

My local server is obama.local and I host a website call obama.work

The external clients can access the website without any problem

The internal clients can't access the website

I will need to configure DNS Forward Lookup zone but don't the details.
I configures the lookup zone with the following:

obama.work
Name = cpanel
Type= Host(a)
Data = <The external IP address>

This is all I have and is not working.
Can you please help me or give me a web page with information as what to do?

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,288 questions
0 comments No comments
{count} votes

20 answers

Sort by: Newest
  1. Hypatia 1 Reputation point
    2021-06-05T17:39:02.983+00:00

    I was able to fix this problem.

    My C:\Windows\System32\drivers\etc\Host file has the intranet IP and the domain name: 20.0.0.80 www.obama.com
    IIS binds the internet port 443 to port 80

    The problem was in the FortiGate router. I was not pointing to the correct certificate.

    One I fixed FortiGate my intranet and internet and working with the correct ports.

    Thank you for your help.

    0 comments No comments

  2. Hypatia 1 Reputation point
    2021-06-01T18:56:39.467+00:00

    @MotoX80 I only have on NIC on my server. I am looking at the IIS to understand what is going on


  3. Tia Rojas 1 Reputation point
    2021-05-29T16:42:09.84+00:00

    @MotoX80
    I am getting errors on the 2 logs. This is a problem that I need to look close. This machine has one NIC and looks like I may need to configure for 2 NICs

    Test-NetConnection www.obama.work -Port 443
    WARNING: TCP connect to www.obama.com:443 failed

    ComputerName : www.obama.work
    RemoteAddress : 170.165.123.93
    RemotePort : 443
    InterfaceAlias : Ethernet 2
    SourceAddress : 20.0.0.80
    PingSucceeded : True
    PingReplyDetails (RTT) : 0 ms
    TcpTestSucceeded : False

    is not working and I am getting errors in the logs
    the HTTERR log:

    Software: Microsoft HTTP API 2.0

    Version: 1.0

    Date: 2021-05-07 09:13:15

    Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri streamid sc-status s-siteid s-reason s-queuename

    2021-05-07 09:13:15 10.0.0.1 55256 20.0.0.80 443 HTTP/1.1 GET / - 404 - NotFound -


  4. Tia Rojas 1 Reputation point
    2021-05-29T15:06:50.98+00:00

    @MotoX80 yes that is correct. and the IP address is not the one I use.
    I am still fixing TLS 1.1 problems so I don't want to expose my server.


  5. Tia Rojas 1 Reputation point
    2021-05-29T14:36:48.6+00:00

    @MotoX80 the problem is not that complicated to understand

    This is part of my Windows server 2016:
    IP 20.0.0.80 <-- is my intranet IP address and the hostname is obama.local (I don't have a certificate or a website on obama.local, Port 80 is not open to the internet)
    IP 170.165.123.93 <-- is my external IP address and and has a certificate for website https://www.obama.com I have port 443 open to the internet

    The internet can access https://www.obama.com without any problems
    If I try to access www.obama.com or https://170.165.123.93:443 in the intranet I get an error: ERR_CONNECTION_RESET (This is the problem that I need to fix)

    @ CandyLuo-MSFT told me "DNS entries just used to resolve domain name to an IP address. First make sure you can access the website by IP address in the LAN. If you are not able to access the website by IP, then this issue is not related with DNS resolution."

    I need to resolve the LAN before I work with DNS.

    Your suggestion of having 2 certificates. One assign to IP 170.165.123.93:443 and the other certificate assign to IP 20.0.0.80:80 may work?