Mobile app version of vmapp.org
Login or Join
Deb1703797

: Creating hosting accounts in WHM on a single IP I've just purchased a VPS with the hope of transferring multiple shared hosting accounts onto it. The problem is that I've only got 2 IP addresses

@Deb1703797

Posted in: #IpAddress #Vps #WebHosting

I've just purchased a VPS with the hope of transferring multiple shared hosting accounts onto it. The problem is that I've only got 2 IP addresses with my VPS.

I can create an account and assign it an IP address, but once I've done this once, I can't do it again. (1 IP address is my main root WHM IP, the other is my new hosting account IP).

Can I create multiple hosting accounts and use the same IP? How would I manage multiple hosting accounts in this way?

The domain for this hosting account has been purchased by the client, and they hold it (can't transfer for 60 days), so I need to adjust the DNS settings to redirect to my newly created hosting area - how can I do this without a dedicated IP address?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

2 Comments

Sorted by latest first Latest Oldest Best

 

@Tiffany637

In WHM, I've got two separate "packages" setup. One for dedicated IP's, and one for Shared IPs. "Dedicated IP" is an option when setting up the Package. So all you should need to do is create a Package called shared-ip or some such, unclick the Dedicated IP checkbox when setting it up, and then use that Package for any accounts that you want on the Shared IP.

10% popularity Vote Up Vote Down


 

@Marchetta884

u can assign a single ip to any number of domains

if u have 2 domains , want to host in single server create vhost in apache

<VirtualHost *:80>
ServerName site1.com ServerAlias site1.com
DocumentRoot /var/www/site1
##DocumentRoot c:/xampp/htdocs/site1
</VirtualHost>
<VirtualHost *:80>
ServerName site2.com ServerAlias site2.com
DocumentRoot /var/www/site2
##DocumentRoot c:/xampp/htdocs/site2
</VirtualHost>



*means wildcard IP and :80 is for port
u can change that too


If not working

Try adding DNS

In windows : C:Program Filessystem32driversetc
In Linux : /etc/hosts

127.0.0.1 site1.com
127.0.0.1 site2.com

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme