Recommended Posts

Sorry I know this is an absolute noob question and I actually have tried using Microsoft's articles to get it up and running but it doesn't appear to work. For the first time I am using IIS7. I have never used IIS before (apache guy :) ). So anyway I'm trying to set it up where if I type in www.mysite.com it actually is on my computer instead of going to www.mysite.com. Can II7 do this? Apache could do similar things with virtual ips/directories. That way it's like I'm running the site but it's not on the offical site. I tried using the Add Site option and everytime I click browse site it says Error connection to mysite.com server could not be found or something to that effect. What am I doing wrong?

Link to comment
https://www.neowin.net/forum/topic/828532-noob-question-for-iis7/
Share on other sites

Well you need to make sure that www.mysite.com resolves to your machines IP for starters..

Your IIS is listening on a IP.. Lets say your machine is 192.168.1.100

When you put in your browser for www.mysite.com it asks your dns for the IP of the host www.mysite.com -- which Im going to guess is not 192.168.1.100 ;)

Put in a host file on your machine to show that www.mysite.com is 192.168.1.100.

When you want to get to the actual site, on the public server somewhere - your going to have to remove this query.

Or simpler method is just access the site on IIS by the IP address or local name of the box, etc.

I think your confused with how apache does it -- it does it the same way.. If you want to access a web server, by a specific name you have to make sure that host resolves to the IP address the webserver is listening on.

As to having multiple sites on the same IP, virtual hosts in apache -- or host headers in IIS.

Has nothing to do really with what your asking -- to get the IIS on your local machine, your going to have to use a name that resolves local machines IP that IIS is listening on.. This does not matter if its apache, IIS4, 5, 6 or IIS7 -- or any other webserver for that matter.

ok, that makes sense. I actually tried to find the dns service in vista to enable, other then the client dns. I am guessing this is a win server service. How do I find a host file or create one that is recognized by the computer? Thanks for your help so far :)

nvm, google solved that question. Thanks for the help :)

  sathenzar said:
one more quick question. I located the HOSTS file for vista. I put this line in:

127.0.0.1 drslabs.com

It just says it couldn't find the site still. Am I doing it wrong? I have the bindings to www.drslabs.com:80 in IIS7

www.drslabs.com and drslabs.com is not the same address. Try adding 127.0.0.1 www.drslabs.com

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I've stopped using Chrome after some of my most used extensions didn't work.
    • More Microsoft Account headaches: Office 2024 licensing bug finally gets detailed fix by Sayan Sen Microsoft often highlights the benefits of a Microsoft account (MSA) as it points out the unified access users get across devices and services like Windows, Office, OneDrive, and Xbox, which can help in synchronization of files and settings for convenience. That is also why it is a mandatory requirement during Windows 11 installs. However, there can be major problems too. For example, earlier this month, we reported on an incident wherein a Windows user was locked out of their Microsoft Account when Windows flagged their OneDrive upload activities, and apparently there was no way to recover their account. We discussed how, in such a case, users can lose all their data, especially if it's BitLocker encrypted, which is not all that unlikely on Windows 11 24H2. You can read the story in full in this article here. Meanwhile, on the topic of MSA, Microsoft has finally released a detailed step-by-step guide for fixing the Office 2024 licensing bug. The tech giant had already published an update earlier back in December last year. While that was supposed to fix the issue, the problem likely persisted for many users. For those who need a refresher, users whose Microsoft accounts held licenses for both Office 2024 and earlier editions like Office 2021. After upgrading to Office 2024, the MSA continued to display the older version. At the time, Microsoft only stated that installing the latest version of the Office 2024 app would fix the issue. This week, though, a detailed guide has been shared. The company writes: You can find the support article here on Microsoft's official website.
    • Hey Neowin folks, I’m struggling with my Samsung QLED Q80C smart TV’s Wi-Fi dropping randomly. It connects to my 5GHz network but loses signal every 20–30 minutes, interrupting streaming. Details: Device: Samsung QLED Q80C (2023 model), Tizen OS, firmware updated to latest (May 2025). Network: TP-Link Archer AX73 router, Wi-Fi 6, 5GHz band, WPA3 security. Environment: TV ~10 feet from router, no major interference (tested without microwave or cordless phones). Setup: Streaming Netflix, YouTube via built-in apps; issue persists across apps. Steps Tried: Restarted TV, router, and modem. Switched to 2.4GHz band—same issue, slower speed. Assigned static IP to TV in router settings. Reset TV network settings and reconnected. Checked router logs; no disconnect errors logged. Searched Neowin; found a 2024 thread on Wi-Fi issues but no TV-specific fixes. Expected: Stable Wi-Fi connection for uninterrupted streaming. Actual: Wi-Fi drops every 20–30 minutes, requiring manual reconnect. Has anyone faced Wi-Fi dropouts on Samsung QLED TVs or Tizen OS? Could it be a firmware bug or router setting? Any debug tips or workarounds? Thanks for any ideas!
    • I can see why you would need an AI browser
  • Recent Achievements

    • Conversation Starter
      sophiaisabella32 earned a badge
      Conversation Starter
    • First Post
      Brett76 earned a badge
      First Post
    • One Year In
      78andyp earned a badge
      One Year In
    • One Month Later
      Cottonbud earned a badge
      One Month Later
    • One Month Later
      langat earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      594
    2. 2
      ATLien_0
      219
    3. 3
      Michael Scrip
      189
    4. 4
      +FloatingFatMan
      146
    5. 5
      Xenon
      135
  • Tell a friend

    Love Neowin? Tell a friend!