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

    • Nvidia and Foxconn planning to deploy humanoid robots within months by Paul Hill Never mind intellectual work, Foxconn and Nvidia are now in talks to deploy humanoid robots at Foxconn’s new Houston factory to carry out physical work, Reuters has reported. The two companies want to have the robots operational by the first quarter of 2026. This is a big development for both companies; it marks the first time Nvidia products will be made with robot assistance, and the first time Foxconn has used robots in an AI server factory on a production line. While the development is certainly interesting, and potentially bad for factory workers, we do not know many of the details such as which robots are being planned for use at the factory, what they’ll look like, or how many will be deployed. While Foxconn has trialed robots made by Chinese firm UBTech, the report states that Foxconn is developing its own robots with Nvidia. The news was told to Reuters via unnamed sources who are not allowed to discuss the matter, so they did so under anonymity. They said that the robots will start work early next year and will contribute to the production of Nvidia’s GB300 AI servers. Foxconn has been training the robots to pick and place objects, insert cables, and do assembly work, but it’s not clear exactly what their role will be on the factory floor and whether jobs will be impacted. One of the sources that spoke to Reuters said that the Houston factory was the best place to trial the robots because it is more spacious, giving robots more room to move about. Last month, a Foxconn subsidiary, which is in charge of the group’s AI server business, said there were two robots being developed which are expected to be showcased in November. One of the robots will have legs, while the other will use a wheeled autonomous mobile robot base. Predictably, the latter version will cost less money than the one with legs, but pricing is unknown at this point. Reuters noted that these two businesses are not the only ones working on robots. It also said that Mercedes-Benz and BMW have been testing robots on production lines and that Tesla is developing its own robots too. China is also getting heavily invested in the sector. Jensen Huang, head of Nvidia, believes that they will be in wide use in manufacturing facilities within five years.
    • That's great and all, but humans have a finite range of vision and a rather slow reaction time. I live in a rural area too and the roads are painted with dear carcasses most of the year. It's not because people choose to hit them. A human simply can't react quick enough when they come firing out of the woods perpendicular to your vision. Those issues can and are being solved with machine vision. The industrial world has been doing this for many years already and cars are finally jumping on the bandwagon using the same technology. It's a known fact that driving is the most dangerous thing (most) people do every day, and that's solely because humans are driving. It's one thing to use technology to be lazy, but it's another to use it to be safe and save lives.
    • Microsoft doesn't make AMD drivers. The "AMD" driver on Windows update comes from AMD, its AMD decision to put it there.
    • While the Windows key shortcut is fine, I would argue that it's not as efficient as just using your mouse. It's a one-handed task vs two-handed. And with the keyboard, you trust that you don't hit a wrong key or that Windows can actually find what you're looking for. For me, Win 10 search struggled to find some things I had in the start menu, but Win 11 has seemingly fixed that. The main issue is that Microsoft did such a crappy job on the start menu since Win 8. The use of space is horrible and needs much more functionality. Most of all, it needs to be customizable. Having to rely on third-party apps to make it useful is really embarrassing.
  • Recent Achievements

    • First Post
      emptyother earned a badge
      First Post
    • Week One Done
      Crunchy6 earned a badge
      Week One Done
    • One Month Later
      KynanSEIT earned a badge
      One Month Later
    • One Month Later
      gowtham07 earned a badge
      One Month Later
    • Collaborator
      lethalman went up a rank
      Collaborator
  • Popular Contributors

    1. 1
      +primortal
      675
    2. 2
      ATLien_0
      275
    3. 3
      Michael Scrip
      218
    4. 4
      +FloatingFatMan
      165
    5. 5
      Steven P.
      162
  • Tell a friend

    Love Neowin? Tell a friend!