Announcement

Collapse
No announcement yet.

Assign domain names to servers

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Assign domain names to servers

    Hi, this is my first post here! I have 3 servers with windows server 2012 R2. The first is a domain controller with dns and dhcp also installed, the second is an iis web server and the third is a remote access server. Also i have 8 static IP addresses from my isp and a domain name(mydomain.com) with unlimited subdomains. How can i assign the mydomain.com to the iis web server and the remote.mydomain.com to the remote access server, so i can access them through internet?

    Thank you!

  • #2
    1. Pick one of your 8 static IP addresses then pick a subdomain, ie "remote.mydomain.com"
    2. edit your PUBLIC DNS SERVER and add a new "A NAME" record for remote.mydomain.com and point it to the IP Address for the static IP address
    3. On your firewall/edge router, create an inbound nat entry and any corresponding rules you require, allowing traffic destined for the static public IP address and forward it to the internal IP address of remote.mydomain.com
    4. Repeat for webserver.

    You may also wish to create static outbound nat mappings as well, or use VIPs completely. It depends on your network infrastructure and what options you have really.
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment


    • #3
      Thank you very much for your response! That's that i need!

      Comment


      • #4
        Lets say for example i have a modem/router device only and the following public static ip addresses:

        262.21.130.10, 262.21.130.11, 262.21.130.12, 262.21.130.13, 262.21.130.15, 262.21.130.16, 262.21.130.17, 262.21.130.18

        and my local ip addresses of the servers are:

        192.168.2.10, 192.168.2.11, 192.168.2.12, 192.168.2.13, 192.168.2.14, 192.168.2.15, 192.168.2.16, 192.168.2.17, 192.168.2.18
        1. I am going to my domain name dns and point the remote.mydomain.com to the 262.21.130.10
        2. Then go to my modem/router and forward the port of my remote access server to the 192.168.2.10
        3. Go to my local DNS Server and point remote.mydomain.com to 262.21.130.10
        Is that correct?

        Comment


        • #5
          Uhm.. yes.. but if you want to forward the same port to multiple internal servers (IE, port 80 or 443) if you just have a generic modem/router, you won't be able to do iot. You'll need something with a bit of ability.
          Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

          Comment


          • #6
            What is the make / model of the router and or modem
            Tom Jones
            MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
            PhD, MSc, FIAP, MIITT
            IT Trainer / Consultant
            Ossian Ltd
            Scotland

            ** Remember to give credit where credit is due and leave reputation points where appropriate **

            Comment


            • #7
              I have a linksys LRT214 router. It supports NAPT Port forwarding and port address translation, so i think it is ok.

              Comment


              • #8
                On top of what tehcamel wrote, I would also create an internal DNS zone that matches the external one, and, if needed, create A records for the IIS machine in order to help with internal name resolution. The reason for this is that sometimes when INTERNAL computers attempt to resolve the EXTERNAL FQDN, they do this against the INTERNAL DNS, which resolves the answer to the EXTERNAL IP address of the web server, and, depending on your NAT, router and FW setups, they may not be able to access the INTERNAL server by using EXTERNAL IP addresses.
                Cheers,

                Daniel Petri
                Microsoft Most Valuable Professional - Active Directory Directory Services
                MCSA/E, MCTS, MCITP, MCT

                Comment

                Working...
                X