Results 1 to 9 of 9
  1. #1

    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?

  2. #2
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,456
    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
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals

  3. #3
    Join Date
    Mar 2003
    Location
    WebHostingTalk
    Posts
    16,947
    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
    Specially 4 You
    .
    JoneSolutions.Com ( Jones.Solutions ) is on the net 24/7 providing stable and reliable web hosting solutions and services since 2001

  4. #4
    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

  5. #5

    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!

  6. #6
    A simple question though, where do I place httpd.conf?

  7. #7
    Join Date
    May 2006
    Location
    NJ, USA
    Posts
    6,456
    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
    Need some work done in a datacenter in the NYC area? NYC Remote Hands can do it.

    Follow my "deals" Twitter for hardware specials.. @dougysdeals

  8. #8
    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

  9. #9
    Finally worked!!!! thanks for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •