hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : Multiple domains/websites on a single VPS?
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

Multiple domains/websites on a single VPS?

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-05-2011, 09:24 PM
Vikalp Vikalp is offline
Newbie
 
Join Date: Dec 2011
Posts: 6
Question

Multiple domains/websites on a single VPS?


Hello guys,

I have 3 websites, each hosted on a different domain with different hosting provider.

Recently I acquired a VPS and I want to migrate all 3 of my websites to this single VPS, so that I could save money on hosting providers and could manage my sites from one single location.

I guess Kloxo is perfect for this purpose.

I have installed Kloxo on my VPS and installation went fine. Although I am a bit confused regarding some of the features and have no idea what to put in those settings inside Kloxo control panel.

First is the DNS template, what do I add in Primary DNS and Secondary DNS? It automatically assigned my VPS's IP to Web IPaddress and Mail IPaddress, but I have no clue what to enter in primary/secondary DNS.

After that how do I go about adding all three of my Domains to the VPS?

And what changes do I need to make in my Domain's control Panel to attach them to the VPS?

I hope you guys understand what I am talking about, I would really appreciate if someone could guide me in this regard.

tl;dr - How can I host my 3 different websites on a single VPS using Kloxo? My VPS is having a single IP.

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 12-05-2011, 09:26 PM
SolidJoe SolidJoe is offline
I LOVE Cogent!
 
Join Date: Dec 2002
Location: California
Posts: 1,999
If you aren't comfortable in the shell and managing a server, a VPS is probably not for you regardless of whether or not you have a control panel. It requires a lot of experience and expertise to properly and securely manage.

__________________
I wish all my traffic went through AS174.

Reply With Quote
  #3  
Old 12-05-2011, 09:29 PM
tanmoyg tanmoyg is offline
Junior Guru
 
Join Date: Oct 2010
Posts: 202
Quote:
Originally Posted by SolidJoe View Post
If you aren't comfortable in the shell and managing a server, a VPS is probably not for you regardless of whether or not you have a control panel. It requires a lot of experience and expertise to properly and securely manage.
Well most of the managed hosting providers will do the job for you!

__________________
█ \ Axisnext VPS \ Managed High Performance Linux VPS, Performance Assured 100%
█ \ RAID10 HDD, DDR3 RAM, 1 Gbps Unmetered Instant Setup

Reply With Quote
Sponsored Links
  #4  
Old 12-05-2011, 09:44 PM
Vikalp Vikalp is offline
Newbie
 
Join Date: Dec 2011
Posts: 6
@SolidJoe I am quite comfortable with Shell and Linux commands etc. Its just that I am a bit confused how to carry out the above task using Kloxo.

Reply With Quote
  #5  
Old 12-05-2011, 10:07 PM
n8bit n8bit is offline
Premium Member
 
Join Date: Aug 2011
Location: Vancouver, BC
Posts: 161
Sometimes it is a better idea (and probably more secure) to set it up without a control panel, so that you learn all the different portions of hosting (dns, webserver/vhosting, system health monitoring) in and out.

Or like tanmoyg said, have a managed provider set it up for you - then you take it from there. Better than suffering downtime!

Reply With Quote
  #6  
Old 12-05-2011, 10:40 PM
kbeezie kbeezie is offline
Web Hosting Master
 
Join Date: Jun 2010
Location: Grand Rapids, Mi
Posts: 1,193
Quote:
Originally Posted by tanmoyg View Post
Well most of the managed hosting providers will do the job for you!
True, but it certainly helps to have some basic shell experience.

__________________
IonVz - Nginx/FreeBSD/VPS Consulting | VPSNodeBox - Managed Support Representative

Reply With Quote
  #7  
Old 12-05-2011, 10:41 PM
kbeezie kbeezie is offline
Web Hosting Master
 
Join Date: Jun 2010
Location: Grand Rapids, Mi
Posts: 1,193
Quote:
Originally Posted by Vikalp View Post
@SolidJoe I am quite comfortable with Shell and Linux commands etc. Its just that I am a bit confused how to carry out the above task using Kloxo.
Then don't use Kloxo like webmin and such it's just a control panel for existing installed software, you don't have to use it and sometimes its better if you don't. (Where as something like cpanel/directadmin/plesk is going to be pretty interwoven into the system and respective applications)

__________________
IonVz - Nginx/FreeBSD/VPS Consulting | VPSNodeBox - Managed Support Representative

Reply With Quote
  #8  
Old 12-06-2011, 01:28 AM
Vikalp Vikalp is offline
Newbie
 
Join Date: Dec 2011
Posts: 6
Thank you very much guys for all the help.

Reply With Quote
  #9  
Old 12-06-2011, 09:15 AM
algero algero is offline
Junior Guru Wannabe
 
Join Date: Sep 2009
Posts: 44
All your tasks may be executed using Kloxo. It's easy.

Reply With Quote
  #10  
Old 12-06-2011, 11:45 AM
fshagan fshagan is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: California
Posts: 2,487
Quote:
Originally Posted by Vikalp View Post
First is the DNS template, what do I add in Primary DNS and Secondary DNS? It automatically assigned my VPS's IP to Web IPaddress and Mail IPaddress, but I have no clue what to enter in primary/secondary DNS.
A VPS has to have its own "authoritative name servers" (or, "local name servers"). These contain the A, CNAME, and MX records for your websites. There are more detailed than the name servers you are used to in the DNS. All of the other servers in the DNS just point to your authoritative name servers. Your other web hosts have provided this service for you; when you get a VPS, you have to provide it.

You can have Kloxo install your authoritative name servers for you. Check the Kloxo forums; they have quite a few tutorials and threads on it.

However, there's a problem with doing this, especially if email is important to your sites. If the local name servers are on the same server as your sites, when the server is unavailable, so are your local name servers. If I send you an email, and the name servers are unavailable, its as if your sites never existed. I get my email back immediately, with a bounce message, saying you don't exist. If, on the other hand, at least one of your authoritative name servers is still available, my email will be queued for delivery when the server is again reachable.

But, if email doesn't matter for your sites, you can put both name servers on your VPS. It will consume a bit of RAM to do so. The alternative, if email is important to you, is to either buy one or two more VPS for use as name servers, or use an external DNS option from someplace like DNSMadeEasy. This saves RAM and is less expensive than buying one or two more VPS.

Reply With Quote
  #11  
Old 12-06-2011, 01:38 PM
fkam17 fkam17 is offline
WHT Addict
 
Join Date: Sep 2008
Location: Hong Kong
Posts: 102
You can host multiple web sites on a single VPS with a single IP using named based virtual hosting in your Apache config. The control panel you use should be able to handle it. Name based virtual hosting allows your http request to be interpreted into different documentroot based on the URL.

__________________
Francis Kam - 38Cloud - Unmetered VPS, China, Hong Kong, USA
http://www.facebook.com/38cloud - Come LIKE Us on Facebook
http://38vps.com - Order now!
sales @ 38cloud.com

Reply With Quote
  #12  
Old 12-06-2011, 02:25 PM
Vikalp Vikalp is offline
Newbie
 
Join Date: Dec 2011
Posts: 6
Quote:
Originally Posted by fshagan View Post
A VPS has to have its own "authoritative name servers" (or, "local name servers"). These contain the A, CNAME, and MX records for your websites. There are more detailed than the name servers you are used to in the DNS. All of the other servers in the DNS just point to your authoritative name servers. Your other web hosts have provided this service for you; when you get a VPS, you have to provide it.

You can have Kloxo install your authoritative name servers for you. Check the Kloxo forums; they have quite a few tutorials and threads on it.

However, there's a problem with doing this, especially if email is important to your sites. If the local name servers are on the same server as your sites, when the server is unavailable, so are your local name servers. If I send you an email, and the name servers are unavailable, its as if your sites never existed. I get my email back immediately, with a bounce message, saying you don't exist. If, on the other hand, at least one of your authoritative name servers is still available, my email will be queued for delivery when the server is again reachable.

But, if email doesn't matter for your sites, you can put both name servers on your VPS. It will consume a bit of RAM to do so. The alternative, if email is important to you, is to either buy one or two more VPS for use as name servers, or use an external DNS option from someplace like DNSMadeEasy. This saves RAM and is less expensive than buying one or two more VPS.
Great! Thanks for the simple nice explanation.

I think I will go with a third party DNS service, like ClouDNS.com

So I can put the DNS info they give me into primary and secondary DNS option inside DNS template. Now whenever I add a new domain through Kloxo I can assign the same template to it and I have to put the same nameservers, provided by the DNS provider, into my Domain's control panel.

Got it! Thanks again.

@fkam17 Thanks to you too mate.

I will try and post the results soon.

Reply With Quote
  #13  
Old 12-06-2011, 03:09 PM
ichpen ichpen is offline
Newbie
 
Join Date: Jul 2003
Posts: 25
Quote:
Originally Posted by Vikalp View Post
Great! Thanks for the simple nice explanation.

I think I will go with a third party DNS service, like ClouDNS.com

So I can put the DNS info they give me into primary and secondary DNS option inside DNS template. Now whenever I add a new domain through Kloxo I can assign the same template to it and I have to put the same nameservers, provided by the DNS provider, into my Domain's control panel.

Got it! Thanks again.

@fkam17 Thanks to you too mate.

I will try and post the results soon.
Use your registrars nameservers. They are faaar better than keeping them locally. Namecheap and godaddy have pretty robust DNS that is free as long as you have a domain with them.

I honestly don't understand why folks offload DNS and try to manage dns zones separately (unless you're running an enteprise).

Never used Kloxo but can wholeheartedly recommend ispconfig if you're looking for a free panel. I find it better in someways to directadmin/cpanel.

Reply With Quote
  #14  
Old 12-06-2011, 08:26 PM
fshagan fshagan is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: California
Posts: 2,487
Quote:
Originally Posted by Vikalp View Post
I think I will go with a third party DNS service, like ClouDNS.com

So I can put the DNS info they give me into primary and secondary DNS option inside DNS template. Now whenever I add a new domain through Kloxo I can assign the same template to it and I have to put the same nameservers, provided by the DNS provider, into my Domain's control panel.

Got it! Thanks again.
Yep, you got it. It should work fine. It helps with RAM usage a bit to not run BIND (although Kloxo has a great tinyDNS feature in their "switch software" configuration that does almost as much).

Reply With Quote
  #15  
Old 12-06-2011, 10:44 PM
kpmedia kpmedia is offline
Web Host Reviewer
 
Join Date: Feb 2006
Location: Kepler 62f
Posts: 9,458
Quote:
Originally Posted by ichpen View Post
I honestly don't understand why folks offload DNS and try to manage dns zones separately (unless you're running an enteprise).
I did it just to see if I could. Now I'm considering moving a few important sites to a better DNS setup. I don't want to pay more than a few bucks per month, however.

ClouDNS.net doesn't work for me so far. I just registered, activated, and then it tells me I have bad login info. When I try to use the "forgot password" function, it says I submitted an invalid email. So my opinion of that service is already tanked. I already wasn't thrilled that prices are not listed on the site, and you have to be logged in first. Oh well. Next.

__________________
|| Need a good host?
|| See my Suggested Hosts List || New Guide: How to Install fail2ban with CSF/LFD on cPanel
||

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple domains from single hosting MitradebanjanSEO Web Hosting 15 04-08-2010 06:32 PM
editing vhost file so multiple domains can share single magento install on VPS mehmehmeh VPS Hosting 0 04-06-2010 10:52 PM
Multiple domains to single IP address? i2genius.com Domain Names 4 09-10-2003 11:47 AM
Can we use a single Revecom IBA account on multiple websites? Rain Maker Running a Web Hosting Business 12 11-15-2002 11:01 PM
Multiple Domains to a Single Site? humorthem Web Hosting 31 02-17-2001 12:49 AM

Related posts from TheWhir.com
Title Type Date Posted
50e21a9e-aab8-4a48-a8fe-5bae45a79943 Listing 2013-03-05 18:24:44
50a15ecd-fab4-4084-be23-53a245a799a0 Listing 2013-03-05 18:23:24
Web Host ASEOHosting Acquires IPv4 Address Space for Multiple IP Hosting Web Hosting News 2011-12-29 16:31:34
Tucows Adds 100-Plus new Domain Extensions to OpenSRS System Web Hosting News 2011-12-22 18:29:09
Task Force to Consolidate US Federal Government Domains Web Hosting News 2011-07-13 17:01:47


Tags
kloxo

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?