How to Manage IP Addresses on Your VPS
Virtual Private Server (VPS) hosting is perhaps the least understood hosting option for those new to website building. While the term may seem a little intimidating, the concept behind it is simple and it has clear and distinct advantages over shared hosting.
Typically, VPS is the next step forward for those who are either seeking an upgrade from shared hosting or simply want to build a site that is more focused on performance and security. Once you get on VPS, its scalability makes it useful for a long time after.
Before moving to VPS though, there are some technical details you should be aware of. Where shared hosting allows you the luxury of ‘ready to use’ environments, VPS may require some configuration.
This article will take a look at how to configure a VPS account to handle IP addresses (either the default or additional IP addresses).
The following review includes essential information, such as:
What is an IP Address?
The IP, or Internet Protocol, address is a series of numbers that identifies each individual device on a network. Each IP within the network must be unique, Because of that, there are typically two sets of IP per device – an internal IP and external IP.
The internal IP is the number assigned to your device on the local network. An example of a local network would be the devices linked within your home under the umbrella of (normally) your router.
The external IP address is what gets assigned to you by your Internet Service Provider (ISP) when connecting to its servers for Internet access. There are two types of external IP which are IPv4 and IPv6.
Originally, IP addresses used the v4 format, which meant each address was made up of four sets of numbers. With the increasing number of devices being connected, IPv6 was introduced which expanded IPv4 to use sets of six digits.
To give you a better idea of the limitations of the IPv4 format, a sub
Your VPS account will be assigned an IP address by your host since it is essentially a device (even though it’s virtual) connected to the Internet.
How to Find the IP of your Website?
The IP address of your website is typically provided to you by your web host. After you sign up for a web hosting plan, details of the account including the IP address will be sent to you (typically via email).
Among those details will the IP address you can use to access your web hosting account. Until you link a domain name to that IP address, you will have to use it to log in to your web hosting control panel.
If everything has somehow been set up for you already, you can also find your IP address by logging in to your SPanel Account and selecting the ‘List Accounts’ option.
Why Websites Should Have Dedicated IP Addresses
Typically for shared hosting, hundreds of websites will share a handful of IP addresses. This may cause problems for some users. If some of the accounts on the server cause problems and get the IP address blacklisted, other accounts will be affected.
This is one of the advantages that VPS has over shared hosting. VPS hosting comes with its own dedicated IP address. In some cases, the host may provide more than one per account, or you can opt to buy additional IP addresses. For example, ScalaHosting Managed VPS plans come with one dedicated IP address per plan.
IP Addresses and Domains in VPS and Their Proper Configuration
SPanel Domain Management Tools
Once you’ve created an account in SPanel, you’ll need to log in to it to manage the hosting for that account. During the creation process, you will have assigned a domain name to the account. When logged in, you can also manage addon domains, subdomains, and use the DNS editor.
The Addon domains tool will allow you to create several complete websites using the same account. This can be useful if you plan on hosting separate websites under a single VPS instance. All you need to do is select the Addon domains option and then specify your domain name along with its root folder where you want your files to go.
You can use the subdomain tool to organize websites into separate folders, each handling different sections of your site. All of this organization sits under your main domain name.
The DNS editor is where you specify the domain name records for your account. Here you can add, delete or modify DNS records. To point your domain name to the server, you need at least either two A Records, or one A Record and a CNAME Record.
Example A (two A Records):
Example B (one A Record and one CNAME):
Along with these basics, you can also make use of the DNS editor to configure other things as well. There are quite a number of DNS record types for various uses. For example, MX records for email routing, TXT records for technical use, and more.
How to Change the IP Address of your Website in ScalaHosting?
SPanel DNS Editor
DNS is the link between your domain name and website hosting. If you’re shifting to a new web host or even server, you may find yourself having to point your domain name towards a new IP address.
To do that you just need to make use of the DNS editor as discussed above. To change the IP address of your website, edit the VALUE of the DNS records you specified before. Following the example given in the previous section, you can modify “188.8.131.52” to whatever new IP address that has been provided to you.
Please note though that this is a very vital function that is hardly ever used. There are scenarios under which having to change your website IP may be important, such as moving away from a blacklisted IP address or even an entire IP range which has been targeted for frequent cyberattacks.
Otherwise, unless you’re planning to move from host to host often, you’ll most likely make use of the same IP for extended periods of time. Moving hosts can be a major nightmare and having to handle things like a different operating system and environment is really a chore, so I don’t really recommend that.
How to Manage your IP Addresses on VPS Server of ScalaHosting
ScalaHosting VPS accounts each get a single dedicated IP address. Because of this, IP address management is simple since they will follow the IP address of your main account. To observe this, you will need to select ‘List Accounts’ in the SPanel left navigation bar.
Once that is selected you can see a list of all the VPS accounts you’ve created so far, along with other details including attached domain name and IP address. You will not, however, be able to modify the IP address assigned (since there is only one).
The only configuration you may be able to do is to modify the link between domain name and IP address as I discussed in the section above. An alternative method of doing so would be if you were using a Content Delivery Network such as Cloudflare. If that was the case, you can modify settings using Cloudflare DNS management.
Managing a Virtual Private Server account isn’t very difficult for those who have basic knowledge of how networked servers are configured. Please note though that configuration details can sometimes be tricky. If you’re unsure about how to configure your account it is best to look towards Managed VPS hosting to ensure you have the proper levels of support.