hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : need help | multiple domain on same ip!
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

need help | multiple domain on same ip!

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-27-2006, 07:20 PM
Server_N0b Server_N0b is offline
Newbie
 
Join Date: Sep 2006
Posts: 17
Post

need help | multiple domain on same ip!


In my wwwroot folder I have two domain names folder such as

domain1.com AND
domain2.com

When I enter the IP address, domain1.com and domain2.com for the webspace it goes to domain1.com's index.php page

Is there any way I can have more than 1 domain on a single ipaddress and have them both on different webspace?

Reply With Quote


Sponsored Links
  #2  
Old 11-27-2006, 08:06 PM
Dougy Dougy is offline
Rockin' the beer gut
 
Join Date: May 2006
Location: NJ, USA
Posts: 6,055
Yes.

You need to configure apache and make their own directories. I'm not your best resource for this, however.

__________________
simplywww: directadmin and cpanel hosting that will rock your socks
coming very soon: Cheapest Comodo SSL certificates on the market

Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

Reply With Quote
  #3  
Old 11-27-2006, 08:14 PM
net net is online now
Community Liaison
 
Join Date: Mar 2003
Posts: 8,298
Quote:
Originally Posted by Server_N0b
In my wwwroot folder I have two domain names folder such as

domain1.com AND
domain2.com

When I enter the IP address, domain1.com and domain2.com for the webspace it goes to domain1.com's index.php page

Is there any way I can have more than 1 domain on a single ipaddress and have them both on different webspace?

Check to make sure you setup your virtual directory carefully.



Net

__________________
JoneSolutions.Com - Your Number One Choice On The Net - since 2001
-----------------------------------------------------------------------------------------
Linux Shared and Reseller Hosting * KVM Fully Managed cPanel VPS * Super Special Servers
USA/EU/CA cPanel Fully Managed Servers * cPanel Server Management * R1Soft/Idera Backup


Reply With Quote
Sponsored Links
  #4  
Old 11-27-2006, 08:16 PM
caronet caronet is offline
Junior Guru Wannabe
 
Join Date: Aug 2006
Posts: 75
This is called name-based hosting. You will need to configure host headers.

I assume you are running Windows and IIS by your directory structure. Try this link:
http://support.microsoft.com/kb/190008

If you are using apache, check here:
http://httpd.apache.org/docs/2.0/vhosts/name-based.html

Reply With Quote
  #5  
Old 11-27-2006, 09:12 PM
Server_N0b Server_N0b is offline
Newbie
 
Join Date: Sep 2006
Posts: 17
Talking

Quote:
Originally Posted by caronet
This is called name-based hosting. You will need to configure host headers.

I assume you are running Windows and IIS by your directory structure. Try this link:
http://support.microsoft.com/kb/190008

If you are using apache, check here:
http://httpd.apache.org/docs/2.0/vhosts/name-based.html
Very useful links. Thank you for your help!

Reply With Quote
  #6  
Old 11-27-2006, 09:25 PM
Server_N0b Server_N0b is offline
Newbie
 
Join Date: Sep 2006
Posts: 17
A simple question though, where do I place httpd.conf?

Reply With Quote
  #7  
Old 11-27-2006, 09:44 PM
Dougy Dougy is offline
Rockin' the beer gut
 
Join Date: May 2006
Location: NJ, USA
Posts: 6,055
It depends on where you installed on apache and how.

Via yum on fedora and centos, typically its /etc/httpd/conf and there is already a base one there.

__________________
simplywww: directadmin and cpanel hosting that will rock your socks
coming very soon: Cheapest Comodo SSL certificates on the market

Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

Reply With Quote
  #8  
Old 11-27-2006, 10:47 PM
Server_N0b Server_N0b is offline
Newbie
 
Join Date: Sep 2006
Posts: 17
In my root folder there is a fodler called "Packages" IN that Packages folder there are folders called php-5.1.6 and Yum. ................................................... But the problem is that in Yum folder all i can see via ssh and ftp cliet is ------------------------------------------------------------------------------------------------------- centos-yumconf-4-4.5.noarch.rpm sqlite-3.3.3-1.2.i386.rpm python-elementtree-1.2.6-4.2.1.i386.rpm vim-6.3.046-0.30E.1.src.rpm python-sqlite-1.1.7-1.2.i386.rpm yum-2.4.3-1.c4.noarch.rpm python-urlgrabber-2.9.8-2.noarch.rpm ------------------------------------------------------------------------------------------------------- I am running Radhat

Reply With Quote
  #9  
Old 11-28-2006, 04:04 AM
Server_N0b Server_N0b is offline
Newbie
 
Join Date: Sep 2006
Posts: 17
Finally worked!!!! thanks for your help

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Host Europe Group Launches Domain Management Service for SMEs Web Hosting News 2013-04-24 14:31:28
GlobalSign Allows Multiple SSL Certificates on Single IP Address Web Hosting News 2013-03-08 10:31:27
ICANN Publishes Details on Domain Seizure Process Web Hosting News 2012-03-09 15:38:48
Brazillian Government is Reportedly Hitting Service Providers with Domain Takedown Notices Web Hosting News 2012-02-09 10:55:05
.XXX Domain Land Rush Period Begins Web Hosting News 2011-11-08 19:34:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?