Recommended Posts

Hi. I'm trying to host two (or more) sites on my SBS2003 server. I only have one external and one internal IP. There is a router (Linksys) between the server and the Internet. I have two domains, and would like to host both sites. How can I do this? The server is also the DHCP server for my LAN. Do I need to run a DNS server, and if so, how do I go about setting that up? Thanks in advance.

Link to comment
https://www.neowin.net/forum/topic/155738-hosting-multiple-sites-with-iis/
Share on other sites

Use the host header option when setting up the second site in IIS. The three ways to have multiple Webs n one box are:

1. Each Web has a different IP

2. Each Web has a different port (default is 80, so others can be 90, 170, whatever)

3. Use different Host headers (The server checks the url that is being requested and can differentiate.) The problem here is that some old browsers do not send hh information and so have problems. Fortunately, that is very common.

The only good way to use multiple posts without inconveniencing the client is to use a redirector service like << spam >>. You will register one domain with them and create an A record called www1.yourdns.com then a redirect called www that redirects to www1.yourdns.com:port that way when some one types in www.yourdns.com it wil redirect automatically to www1.yourdns.com:port and you can mask all of this too.

As far as host headers, in the second screen when you are setting up the web, there is an option for host header. Simnply place the domain there such as www.yourdomain.com. This way, that web will only respond to requests from the www.yourdomain.com website. YOu do not have to do this for both, but it would be "cleaner" that way

Alright. The host header thing seemed to work. Thanks! :)

Now, another problem I'm having is I can't get to my site with www. in front of it. The domain is registered at www.1and1.com. I currently have it set to use the 1&1 name server, and use my IP as the IP Address (A-Record). I've played around with hosting the DNS server myself, but have had it set to use the 1&1 dns server for 2-3 days now. It has worked with www. in front of the domain before, but for some reason it doesn't now. :/ Any ideas?

Also, would you recommend that I host the DNS server myself? Are there any advantages to doing this versus using the 1&1 DNS server and setting the A-Record to my IP?

Thx for the help.

leave the DNS hosting to t1&1. THey should have a backup and or replication scheme setup so if the primary DNS server goes down, the secondaries will kick in. Hosting your own DNS is only truely usefull if you are a large company with lost of servers and many sub doms. hmmm, sorry to here 'bout the DNS being slow. Hopefully that will fix itself fairly soon.

Ive been very interested in this thread as Im looking to do the same thing on my system but then redirecting the user from one system to another system internally along the LAN.

I think you use the same process of creating a sub domain as you would by creating a new domain. I dont know about installing te DNS but I think it may acctually help on your side.

ChocIST

subdomain as in subdomain.maindomain.com? Very simple...

If you alreday have defined as in my example www1.yourdomain.com pointing to your ip, then you can create the following web redirects

www.yourdomain.com = www1.yourdomain.com:90

subdomain1.yourdomain.com= www1.yourdomain.com:150

subdomain2.yourdomain.com = www1.yourdomain.com:240

etc

Once you haver the first a record, you can create as many redirects as you like.

I am personally using << spam >> as my DNS because I have a dynamic IP, and they are super easy to work with. They have let me set up a subdoamin dns for everything I nedd and I just pay the yearly fee which is pretty cheap.

ChocIST: When you say redirect from one system to another, are you doing all of this internally, and are you redirecting interl clients or external clients?

THe prob. you may run into is that any subdomain URL wise as just logical references. You still need to have IP level access to the server in order for the DNS to work. Reme,ber that DNS is just an easy alternative to IP. If you are re-routing interal clients, than you can use an internal DNS to help out.

At my office, I have a box that is hosting quite a bit of internal content and external content (Intranet, Web access for email, Web access for Remote desktop, internal help site, etc.) I have set up logical A records that all point to the same IP but are easier for the user to remember.

For example, externally, servername.domainname.org is hard to remember, but webmail.doamin.com is easy

or CMAWeb in the address of the webbrowser points to the intranet. instead of servername.domain.loc

Hope this all helps.

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

    • No registered users viewing this page.
  • Posts

    • Google Chrome 137.0.7151.69 (offline installer) by Razvan Serea The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: when you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser. Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier. Use one box for everything--type in the address bar and get suggestions for both search and Web pages. Thumbnails of your top sites let you access your favorite pages instantly with lightning speed from any new tab. Desktop shortcuts allow you to launch your favorite Web apps straight from your desktop. Chrome has many useful features built in, including automatic full-page translation and access to thousands of apps, extensions, and themes from the Chrome Web Store. Google Chrome is one of the best solutions for Internet browsing giving you high level of security, speed and great features. Important to know! The offline installer links do not include the automatic update feature. Google Chrome 137.0.7151.69 changelog: [N/A][420636529] High CVE-2025-5419: Out of bounds read and write in V8. Reported by Clement Lecigne and Benoît Sevens of Google Threat Analysis Group on 2025-05-27. This issue was mitigated on 2025-05-28 by a configuration change pushed out to Stable across all Chrome platforms. [$1000][409059706] Medium CVE-2025-5068: Use after free in Blink. Reported by Walkman on 2025-04-07 Google is aware that an exploit for CVE-2025-5419 exists in the wild. Download web installer: Google Chrome Web 32-bit | Google Chrome 64-bit | Freeware Download: Google Chrome Offline Installer 64-bit | 128.0 MB Download: Google Chrome Offline Installer 32-bit | 115.0 MB Download page: Google Chrome Portable Download: Google Chrome MSI Installers for Windows (automatic update) View: Chrome Website | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Last night I watched "I, Robot" movie: https://www.youtube.com/watch?v=7Dlo-VB0-HI The day they put AI into Robots is our END... I really scare from that day!!
    • This site is just old men ranting at clouds. Neowin knows its audience.
    • That's nice and all. but I generally just stick with Lutris paired with 'ge-proton' (which gets updated fairly often (June 1st was last update) as the 'ge-proton' entry in Lutris uses stuff here... https://github.com/GloriousEggroll/proton-ge-custom/releases ) and the like to play my games. p.s. if a person wants to stick with a specific version from that link you can download a specific version and extract it to "~/.local/share/lutris/runners/proton/". then select it in Lutris options on game shortcut is the basic idea. because by default the standard 'ge-proton' entry will automatically get updated which can occasionally cause issues even though it's usually fine. but manually setting it on a specific version will prevent the standard updates on 'ge-proton' from messing with it on a particular game you may have issues with if that gets updated etc. one good example of the 'ge-proton' updates messing with a game in particular is the offline version of RDR2 1491.50 as I setup a specific version there and after removing the 'vulkan-1 (native)' entry in 'Wine configuration' on 'RDR2.exe' entry (if you don't remove this the game won't start up) is when the 'ge-proton' updates, it will restore that 'vulkan-1 (native)' entry and prevent the game from working. you can always remove the entry on the RDR2.exe in Wine configuration specifically after updates, but doing that everytime that updates will get old quickly. hence, keeping it on a specific GE Proton version stops me from having to mess with it as then you just adjust it once and you are done with it. also, when using 'bat' files to start a game (like Hitman: WoA for example using Peacock etc) I had some issues with GE Proton after '9-27', so I got the game locked to '9-27' (April 1st) instead of the newer ones (10-1 etc).
    • Sam Altman says AI could soon help with discovering new knowledge by Hamid Ganji OpenAI is currently at the forefront of developing powerful AI models, while its ChatGPT product is rewriting our traditional way of looking for new information. The company's CEO, Sam Altman, now says AI could even help humans discover new knowledge. He also described AI agents as junior employees. Speaking at the Snowflake Summit 2025, Altman boasted that AI agents can act like junior employees, saying, "You hear people that talk about their job now is to assign work to a bunch of agents, look at the quality, figure out how it fits together, give feedback, and it sounds a lot like how they work with a team of still relatively junior employees." OpenAI CEO also added AI agents could help humans discover new knowledge in "limited cases" or "figure out solutions to business problems that are kind of very non-trivial." While the use of AI for scientific discovery is still viewed with skepticism, the technology has proven its capabilities for new discoveries in several cases. For example, the Microsoft Discovery platform, designed for accelerating scientific research and development by AI agents, was recently able to discover a new chemical for cooling data centers in just 200 hours, a process that normally takes years to research and complete by humans. AI firms are also shifting their focus toward developing AI agents capable of performing various tasks. OpenAI recently unveiled Codex, which contains AI agents for helping programmers write and debug code. According to Altman, OpenAI engineers are already using Codex. As AI agents become more intelligent, more employees should be concerned about losing their jobs. Companies have already started replacing some specific roles with AI. For example, Duolingo has replaced its contract workers with AI, while Shopify managers need to provide reasons why AI cannot handle a job before seeking approval for new hires. Via: Business Insider
  • Recent Achievements

    • First Post
      nothin earned a badge
      First Post
    • Enthusiast
      Epaminombas went up a rank
      Enthusiast
    • Posting Machine
      Fiza Ali earned a badge
      Posting Machine
    • One Year In
      WaynesWorld earned a badge
      One Year In
    • First Post
      chriskinney317 earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      188
    2. 2
      snowy owl
      134
    3. 3
      ATLien_0
      130
    4. 4
      Xenon
      119
    5. 5
      +FloatingFatMan
      97
  • Tell a friend

    Love Neowin? Tell a friend!