Using Apache: Adding Config Directives to All Virtual Hosts on Server
In this article, we’ll go through how to utilize Apache, adding configuration directives to all…
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.
In this article, we’ll go through how to utilize Apache, adding configuration directives to all…
ImageMagick is a free, open-source plugin that allows you to edit and convert photos in…
Sample sitx.anonftp Configuration AllowAll # Limit WRITE everywhere in the anonymous chrootAllowAll # An upload…