WhatsMyIP.org Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2009, 07:08:32 PM

Login with username, password and session length
Search:     Advanced search
SMF - Just Installed!
351 Posts in 87 Topics by 171 Members
Latest Member: hampton1811
* Home Help Search Login Register
+  WhatsMyIP.org Forum
|-+  Networking
| |-+  Application Networking
| | |-+  Running two websites with one IP address - Redirect by URL
« previous next »
Pages: [1] Print
Author Topic: Running two websites with one IP address - Redirect by URL  (Read 17268 times)
joseph4.0
Newbie
*

Awesome Points: +0/-0
Posts: 3


View Profile
« on: December 02, 2008, 07:39:14 PM »

I want to know if it’s possible to host two websites on the same server using the same port (80) and IP address. I am limited to using Microsoft IIS 7.0 not apache, but I can run PHP on it. (One of the sites is Joomla based)

If I register two domain names to, example1.com and example2.com, to IP address xx.xxx.xxx.xxx is there a script I could run or an IIS setting I could change so that users are redirected to a different folder or index page based on which domain name they use? Also if this is done with a PHP script or something similar would search engines index both pages correctly?

I know similar results can be achieved with Apache by using Virtual hosts in the httpd.conf file, but unfortunately I don’t know if this is possible with IIS.

Thanks for the help
Logged
l008com
Administrator
Full Member
*****

Awesome Points: +1/-0
Posts: 151


View Profile WWW
« Reply #1 on: December 04, 2008, 04:01:43 AM »

Well you said it. Its a piece of cake in apache, and it is the way most sites are hosted. I've never used windows as a server (who would?) but I would be amazed if its not an option.

Also, know that they do make Apache for windows. And like the unix version, it's free.

This site runs on Apache2

Sorry, thats all I have for you.
Logged

joseph4.0
Newbie
*

Awesome Points: +0/-0
Posts: 3


View Profile
« Reply #2 on: December 04, 2008, 08:38:01 AM »

I agree, Apache is far superior, but unfortunately the people I am trying to help out insist on using IIS.
Logged
daryy
Newbie
*

Awesome Points: +0/-0
Posts: 1


View Profile
« Reply #3 on: January 09, 2009, 12:42:27 AM »

very well
Logged

Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!