How To Host Multiple Domain Names With One Vps

Discussion in 'Site & Server Administration' started by Waseem Ashraf, Feb 7, 2013.

  1. #1
    I searched this forum but didn't got this so I decided to make new thread.
    Please tell me if anyone of you know:
    I have two domains i.e. example1.com and example2.com
    I am hosting example1.com on a VPS and now I want to host example2.com on same VPS.
    Is this possible to point example2.com domain to any specific folder of my vps i.e. I have VPS with IP 123.123.123.123 etc then can I host example2.com on it with this folder 123.123.123.123/example2
    I mean to say that my example2.com files are uploaded to example2 folder of my VPS.
    As I got only one HTML folder so i don't know how to host two domains.
     
    Solved! View solution.
    Waseem Ashraf, Feb 7, 2013 IP
  2. DomainCo.US

    DomainCo.US Well-Known Member

    Messages:
    2,124
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    100
    #2
    it would be easier if you install a free control panel
     
    DomainCo.US, Feb 7, 2013 IP
  3. Sensei.Design

    Sensei.Design Prominent Member

    Messages:
    3,847
    Likes Received:
    162
    Best Answers:
    0
    Trophy Points:
    310
    Digital Goods:
    1
    #3
    it is possible but the solution will depend on the interface software you are using. I would assume you are going with cPanel which makes it complicated if you don't have a version allowing multiple domains per user account, which I am assuming.

    In this case the fasted way would be to just create an user account per domain, which of course is not the best solution.
     
    Sensei.Design, Feb 8, 2013 IP
  4. Waseem Ashraf

    Waseem Ashraf Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    Thanks for your help dude
     
    Waseem Ashraf, Feb 21, 2013 IP
  5. cveks

    cveks Member

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    28
    #5
    Install webmin/virtualmin than setup everything from it.
     
    cveks, Feb 23, 2013 IP