Closed Thread
Results 1 to 8 of 8

Thread: VPS DNS question

  1. #1
    Senior Member fsd has a spectacular aura about
    Join Date
    Jun 2006
    Posts
    118

    VPS DNS question

    Hello
    So I am going to buy a VPS soon and although I've been managing websites for years I am new to the world of VPS and dedicated servers.

    So when I buy the VPS I get an ip address and to use my own domain I make an A record pointing to the ip address. I asume thats all I need to get the domain working,

    but what about adding more domains? Do I need another IP for each domain added? Or do I use the same IP and somehow make it point to a different directory on the server?


    Not sure where this topic belongs

    And thanks for your time

  2. #2
    FWS Addict Seraphim is a splendid one to beholdSeraphim is a splendid one to beholdSeraphim is a splendid one to beholdSeraphim is a splendid one to beholdSeraphim is a splendid one to beholdSeraphim is a splendid one to beholdSeraphim is a splendid one to beholdSeraphim is a splendid one to behold Seraphim's Avatar
    Join Date
    Oct 2009
    Location
    Drawing Board
    Posts
    878
    For normal http access, multiple domains can use the same IP as long as they have valid A-records so clients can find them.

    https using a SSL certificate only allows one site per IP, to have multiple sites supporting https you need an IP for each one.

    Other services usually go by IP and port as well- for instance an IRCd running on one IP will always answer requests to that IP and port regardless of what DNS lookups were performed to direct clients to it. These may need separate IPs if you have to have multiple instances, although you can run more than one by putting the different instances on different ports.
    SeraphimLabs LLC, persistent hosting for your needs.
    Come what may we'll be there for you, keeping your dreams safe and growing.
    Chat with us, you don't have to be hosted by SeraphimLabs to get general tech help.

  3. #3
    Junior Member pingpipe is on a distinguished road
    Join Date
    Dec 2009
    Posts
    14
    Sure you can use a single IP to host more than one site (as long as you won't need ssl, if that is the case each secure site would require its own IP). You might want to consider getting a managed VPS with a control panel like Cpanel/WHM, it will cost a bit more but will probably save you time and money with your VPS administration.

  4. #4
    Which control panel are you trying to use? In Plesk and cPanel, you can configure single IP. And then you can use that single shared IP with multiple domains.

  5. #5
    Junior Member nosupporthost is an unknown quantity at this point
    Join Date
    Jun 2012
    Posts
    15
    fsd, what you want to set up on your VPS is something called Virtual Host in Apache - and you can have multiple domains pointing to the same IP address, and pointing to different directories in the same server.
    How exactly this is to be done depends on whether or not you use a Control Panel (e.g. Direct Admin, CPanel, Kloxo, Webmin etc) or not (possible but may be slightly more complex).

  6. #6
    Member storminternet has a little shameless behaviour in the past
    Join Date
    Dec 2011
    Posts
    97
    Basically you can add multiple website on shared IP of the server. If you have purchased vps with the control panel like cpanel or plesk then you can easily add multiple sites through it.
    storminternet- UK's fully managed web hosting.
    Web Hosting Solutions | Cloud VPS |Managed Server Solutions
    ____________________________________________________________ _____
    Join the Storm Web Hosting Affiliate Scheme and get 20% of the sale value

  7. #7
    FWS Addict sarmth is a glorious beacon of lightsarmth is a glorious beacon of lightsarmth is a glorious beacon of lightsarmth is a glorious beacon of lightsarmth is a glorious beacon of lightsarmth is a glorious beacon of lightsarmth is a glorious beacon of light sarmth's Avatar
    Join Date
    Apr 2010
    Location
    Western Australia (Perth)
    Posts
    589
    Hi fsd,

    You do not need a unique IP address PER domain name.

    Basically, the Domain Naming System is used for the translation of Names to Numbers (text book quote, sorry) this means you type in google.com, and your browser looks up the domain name, locates the IP Address, and sends the data to said IP Address. It's a matter of setting up your web server with the relevant domain name (host / virtualhost [apache])

  8. #8
    Junior Member Gilbart is an unknown quantity at this point
    Join Date
    Aug 2012
    Posts
    12
    Yes i agree with sarmth for multiple domains single ips can be used,
    from cpanel you an configure your other domains you can add them as addon domain and point them to your main domain
    since your main domain is dedicated ip and all other domain will be point to the one dedicated ip.

Closed Thread

Similar Threads

  1. Respond to a question with a question.
    By Mole in forum Test things out
    Replies: 139
    Last Post: February 2nd, 2007, 20:09
  2. maeby a stupid question but question
    By hemuz in forum Programming Help
    Replies: 9
    Last Post: October 10th, 2006, 06:43
  3. image insertion question, and jscript link question
    By Acerbus in forum Webdesign / HTML
    Replies: 4
    Last Post: February 26th, 2003, 11:29
  4. i12 Question
    By Phan in forum Free hosting requests
    Replies: 3
    Last Post: September 22nd, 2001, 10:39

Bookmarks

Posting Permissions

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