• I have installed WordPress using the web platform tool on Win Server 2012, with IIS 8.5. Haver configured two websites on two different ports and different root directory.

    Site 1:
    IP address: 192.168.1.53:84
    Root Directory: C:\WP\

    Site 2:
    IP address: 192.168.1.53:88
    Root Directory: C:\Wordpress\

    Now I want to assign the domain names to them with Public (External) IP.
    Domain Name: https://www.site1.com
    External IP: 8.8.8.1
    Firewall: 8.8.8.1:80 >> 192.168.1.53:84

    Domain Name: https://www.site2.com
    External IP: 8.8.8.2
    Firewall: 8.8.8.2:80 >> 192.168.1.53:88

    This seems straight forward, I can connect, but its shows the Default Website of the IIS.

    I have added on Site1,
    Wordpress-Setting-General-Site Address (URL):
    https://www.site1.com

    Add I get redirected to the default website of IIS, the local IP shown in the address bar of the browser. Not to the port designed in IIS. But from Out of LAN its not resolving, as its trying to connect to the local ip 192.168.1.53:84 and gets Page not Available/Found.

    So where and what on IIS show I fix, or is it the WordPress that I have to check for any configuration to fix the forwarding/redirection?

    Haven’t changed anything on Site2

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter wrathyimp

    (@wrathyimp)

    Fixed by adding external domain address to both the URL setting in wordpress.

    WordPress-Setting-General-Wordpress Address (URL):https://www.site1.com
    ?Wordpress-Setting-General-Site Address (URL): https://www.site1.com

    And seems to be fixed. But when I browse the local IP, I get redirected to the external domain name url https://www.site1.com, which is OK, far I can have but external users see my site.?

Viewing 1 replies (of 1 total)
  • The topic ‘IIS 8.5 port forwarding shows local IP’ is closed to new replies.