How to Make Links Trigger Direct File Downloads
Learn how to make files download directly when you click their links, rather than opening…
For name-based sites in web hosting environments, websites can be configured either as name-based sites (multiple domains sharing a single IP) or IP-based sites (each site having its own unique IP address).
You might need to convert a name-based site to an IP-based one when setting up SSL certificates or when you require a dedicated IP address.
This guide will show you how to convert a name-based site into an IP-based site using the “EditVirtDomain” command.
You will need root user privileges to run the required command. Log in via SSH:
Use the following syntax to convert a domain from name-based to IP-based:
Example:
EditVirtDomain -c ipinfo, namebased=0, ipaddrs=[207.44.169.18] centralrock.es
In this example:
Once the command runs successfully:
SSL Certificates >> Some older environments require dedicated IPs for SSL installation.
Dedicated Resources >> Ensures one domain doesn’t share an IP with others.
Custom DNS >> Easier to configure reverse DNS for mail servers.
Explore more hosting insights, tips and industry updates.
Learn how to make files download directly when you click their links, rather than opening…
To upload files for an add-on domain, you need to place them in the correct…
When creating dynamic webpages, connecting a PHP application to a MySQL database is a vital…