Go Back   Forum Care Forums > Development Reference Area > Webmaster Topics

Reply
 
LinkBack Thread Tools Display Modes
Multiple Sites / Multiple Domains - 1 IP Address
Old
  (#1)
Adam
Guest
 
Posts: n/a
Default Multiple Sites / Multiple Domains - 1 IP Address - 05-14-2007, 01:26 AM

Hello,

I'm using IIS 6.0 to manage multiple sites on the same server. I
currently have some test sites set up using different ports
(www.domain.com:88, www.domain.com:89, etc). I was wondering if there
is a way to point a domain name directly to the port at which on of the
sites is being served? My registrar provides web forwarding for a fee,
but I was wondering if there is another way to handle this so that I'm
not wasting money.

Thanks,
Adam
http://www.playsports.us

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Multiple Sites / Multiple Domains - 1 IP Address
Old
  (#2)
Auggie
Guest
 
Posts: n/a
Default Re: Multiple Sites / Multiple Domains - 1 IP Address - 05-14-2007, 01:26 AM


"Adam" <EMAIL REMOVED> wrote in message
news:EMAIL REMOVED ups.com...
> Hello,
>
> I'm using IIS 6.0 to manage multiple sites on the same server. I
> currently have some test sites set up using different ports
> (www.domain.com:88, www.domain.com:89, etc). I was wondering if there
> is a way to point a domain name directly to the port at which on of the
> sites is being served? My registrar provides web forwarding for a fee,
> but I was wondering if there is another way to handle this so that I'm
> not wasting money.


Is this something you are hosting yourself? Or do you have a web hosting
company?

If you are using a web hosting company they should be able to provide you
with instructions on how to set up multiple domain names if they allow that.

If you are doing this on your own (IE: on your own computer running IIS)
then you can easily set it up to run multiple sites with their own domain
name on the same IP address and using the same port (port 80).


I suspect that you are doing this on your own so I will include instructions
for this here:

To set up a website you would:

Open the IIS control panel

Right click your server/computer name

Select NEW >> WEBSITE

Go through the setup wizard:

It will first ask you for a description, this should be the domain name or
something that reminds you what this item is.

The next panel will ask you for an IP address, enter your IP address there
For the port, enter "80"
For the "host header" enter the domain name without the "www.", IE:
example.com

The next panel will ask you where the files are located... find the folder
on your computer with your files in it

Thats it. The website is setup and so long as your nameserver settings are
pointing the domain name to your IP address the site should be working now.

There are probably some cleanup items you need to do: you should right
click the new website and set it so that the "www.________" host header also
points to the same folder above. You should click on the documents tab and
if you are using "index.html" as your home page be sure to include that in
the list of default documents.

And thats pretty much it. You can set each of your sites up like this and
set them all to port 80.


For more information, a good site to check out is: www.IISFAQ.com


   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Multiple Sites / Multiple Domains - 1 IP Address
Old
  (#3)
Mark Goodge
Guest
 
Posts: n/a
Default Re: Multiple Sites / Multiple Domains - 1 IP Address - 05-14-2007, 01:26 AM

On 11 Dec 2006 17:21:04 -0800, Adam put finger to keyboard and typed:

>Hello,
>
>I'm using IIS 6.0 to manage multiple sites on the same server. I
>currently have some test sites set up using different ports
>(www.domain.com:88, www.domain.com:89, etc). I was wondering if there
>is a way to point a domain name directly to the port at which on of the
>sites is being served?


No. DNS is name->IP only, the port number doesn't come into it.

>My registrar provides web forwarding for a fee,
>but I was wondering if there is another way to handle this so that I'm
>not wasting money.


Set up your server to do proper domain-based virtual hosting, and just
get your registrar to put in an A record for all your domains directly
to your server. If they charge for that, go elsewhere.

Mark
--
Visit: http://www.FridayFun.net - jokes, lyrics and ringtones
"Too sweet to be sour too nice to be mean"
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Multiple Sites / Multiple Domains - 1 IP Address
Old
  (#4)
Adam
Guest
 
Posts: n/a
Default Re: Multiple Sites / Multiple Domains - 1 IP Address - 05-14-2007, 01:26 AM

Great solution Auggie! I wish I had learned this years ago.

Can I ***ume that if I have multiple domains for the same site that I
just continue to add host headers for each domain?

Thanks,
Adam

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Multiple Sites / Multiple Domains - 1 IP Address
Old
  (#5)
William Tasso
Guest
 
Posts: n/a
Default Re: Multiple Sites / Multiple Domains - 1 IP Address - 05-14-2007, 01:26 AM

Fleeing from the madness of the http://groups.google.com jungle
Adam <EMAIL REMOVED> stumbled into news:alt.www.webmaster
and said:


> ...
> Can I ***ume that if I have multiple domains for the same site that I
> just continue to add host headers for each domain?


you can do that - many would also employ a 301 (depending on
cxircumstances)

--
William T***o

http://williamt***o.com/words/what-is-usenet.asp
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Multiple Sites / Multiple Domains - 1 IP Address
Old
  (#6)
Michael Fesser
Guest
 
Posts: n/a
Default Re: Multiple Sites / Multiple Domains - 1 IP Address - 05-14-2007, 01:26 AM

..oO(Adam)

>Can I ***ume that if I have multiple domains for the same site that I
>just continue to add host headers for each domain?


If you have multiple domains for the same site you should decide for one
main (canonical) domain and permanently redirect the others (301).
Providing the same content under different URLs is a rather bad idea.

Micha
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top