1. Howdy! Welcome to our community of more than 125.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
    Dismiss Notice
  2. Add your web host to our brand new web hosting directory (beta).
    Dismiss Notice

VPS DNS question

Discussion in 'Dedicated hosting discussions' started by fsd, Jun 28, 2012.

  1. fsd

    fsd Active Member

    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. Seraphim

    Seraphim Active Member

    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.
     
  3. pingpipe

    pingpipe New Member

    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. livetecshosting

    livetecshosting New Member

    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. nosupporthost

    nosupporthost New Member

    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. storminternet

    storminternet Member

    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.
     
  7. sarmth

    sarmth Active Member

    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. Gilbart

    Gilbart New Member

    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.
     
  9. Cloudcone

    Cloudcone New Member

    Hi

    Of course you can add multiple domain names for a single IP address :) With Apache Virtual Hosts you could run several websites with one IP and also customize your settings for each domain.
     

Share This Page