How do I make my website public?

schelp 0 Reputation points
2024-10-16T13:51:32.3+00:00

I've made a website using IIS but it's not showing up on other devices when i visit the address. How do i do that?

Windows development | Internet Information Services
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-17T04:11:47.53+00:00

    Hi @schelp,

    I've made a website using IIS but it's not showing up on other devices when i visit the address.

    on other devices? If I understand correctly, what you probably want to achieve is to access a website hosted in IIS from any PC on the LAN.

    If this the case, in addition to deploying the site in IIS, you also need to set up firewall rules to determine what network traffic is allowed to enter the device from the network (on the machine where you deploy your site to IIS). Simply refer to these steps below:

    1. Open Start, Search for Windows Defender Firewall with Advanced Security, and press enter to open it.
    2. Right click on the Inbound Rules and choose New Rule....
    3. Rule Type: Choose option "Port". Click "Next>" to proceed.
    4. Protocol and Ports: Enter your port number in the "specific local ports". It refers to the port number you set when deploying the IIS site. Then click "Next>" to proceed.
    5. Action: Default value. Click "Next>" to proceed.
    6. Profile: Default value. Click "Next>" to proceed.
    7. Name: Enter some description for this setting. Finally click on the "Finish" button.

    After completing the above steps, you should be able to access this site from other PCs in the form of IP:port. Such as http://192.168.xx.xx:8081/testpage.aspx

    Best regards,

    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. MotoX80 37,151 Reputation points
    2024-10-18T22:30:58.51+00:00

    You really need to provide some details about your network configuration in order to properly answer your question.

    Are you on a home or business network? Or is your machine being hosted by a provider such as Microsoft (Azure), or Amazon (AWS)?

    Are these "other devices" on your private network or are they out on the internet somewhere? Since you used the word "public", I'll assume that you want your site to be accessible from the internet.

    This web site will show you the IP address that your machine accesses the internet with.

    https://canyouseeme.org/

    You can use it to test to see if port 80/443 is exposed to the internet.

    Typically you might work with your internet service provider to reserve an IP address, get a DNS name registered, and also get a certificate so that you can use HTTPS and encrypt the network traffic.

    If you are on a home network, you would need to configure port forwarding in your router to send port 80/443 requests to the pc where you host the site.

    0 comments No comments

  3. Jack Morgan 75 Reputation points
    2025-11-14T18:19:33.05+00:00

    Hi, If your IIS site works only on your own PC but not on other devices, then usually two things need to be checked.

    1. Local network access Make sure Windows Firewall is allowing the port your IIS site is running on. After opening the port, you should be able to reach the site by using your machine’s local IP with the port number from any device on the same network.

    2. Making it public on the internet If you want the site to be accessible from outside your network, then your public IP must allow incoming traffic. You can test this with canyouseeme.org. If the port is blocked, you’ll need to set up port-forwarding on your router so that all requests on port 80/443 go to the computer where IIS is running. After that, anyone can access your site using your public IP or a domain name if you add one later.

    I followed these same steps when setting up one of my own "https://ropeeheroapk.com/"

    , and it worked fine after the port forwarding was done.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.