Mobile app version of vmapp.org
Login or Join
Martha676

: Multiple Website's - VPS Windows8 (IIS) - Domainname on namecheap.com I have 3 domains on namecheap.com but i can only get one to work with my VPS. I think from what i have read so far

@Martha676

Posted in: #Domains #Iis #Server #Windows8

I have 3 domains on namecheap.com
but i can only get one to work with my VPS.

I think from what i have read so far the solution to my problem is i have to change my host files. I Know where its located but i don't know what to edit in it. i Cant find the full guide for my problem.

So thats why i went ahead and turn to you guys.

Important information:


Single website works (direct ip direct from namecheap.com to my VPS)
VPS with really bad support. (they dont help much)
Windows 8
Windows server v6.2
namecheap.com domain.


screencap namecheap:



screencap vps:



Ive tried adding a new ip and directing towards that ip. but that did not work.
I also tried adding in the hostnames (they were not in there first) but that also did not work once i went ahead and fill the second domain hostname in side (IIS).

Ive done a fair amount of research about VPS before getting one. And from that successfully hosted "game" servers. but that was relatively simple compared to this.
I am just really excited about having a domain thats why i bought the VPS initially. But now i would love to have multiple domains. i already bought the domain names. i just cant get them to work with my VPS.

Before asking this i tried many things. Also some stupid things.
+ Theres something odd about my ip list in (IIS) dropdown in binding settings. there are these values in it:
somethign with allot of letters like this: 058a:0582::11a:bqqr:54fc:10ab

And a complete different IP then my VPS that i never put in myself.

i will add any more info you would like and take screenshots. anything to help speed to process for you helpers out there.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Martha676

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sent6035632

Running multiple websites using the same IP address on a single VPS is very common. I am basing my response on a few assumptions:


You have 3 different domain names
You have 3 IIS websites setup in IIS Manager
Each website points to a different webroot on the file system (although they don't necessarily have to)
Each website needs to run on port 80 (if SSL is required, then there might be additional configuration based on the domains and type of certificate that is used).


To run the three sites on the same IP address, it should go without saying that the DNS records for each of the three domains should be pointing at the same IP address. These will most likely be 'A' records for each domain. Once your DNS records are correctly setup, the next step is to make sure that the bindings for each of the three IIS sites includes the protocol, IP address, port, and (most importantly in this case) the host header.

I did not see it in the details of your question, but it is possible that one or more of your IIS sites is missing the host header. If you are running multiple sites on your VPS, it may be a good idea to not use the 'Default Web Site' and instead setup three additional sites each with a host header configured in the bindings. By setting it up this way, it allows you to use the Default site to test that your server is working correctly without affecting the other sites on your server.

Scott Forsyth (an IIS MVP) has a good tutorial video that explains bindings pretty well. Have a look at his explanation here. That should help you in making sure that you have IIS setup and configured correctly.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme