By default, VestaCP Does not provide any front-end option at the admin panel for implementing IPv6 addresses.
Therefore the question is – Is it possible to enable IPv6 for VestaCP?
A simple answer to this question is – Yes, It’s possible.
We can set it up using manual configuration.
How to configure IPv6 for VestaCP
To configure IPv6 for VestaCP follow the steps.
Step 1: Login to your VestaCP Web hosting control panel using your credentials.
Step 2: Go to the DNS setting.
Step 3: Click on the
ADD RECORD + button.
Step 4: Fill the record field by @. Choose type – AAAA. Fill the IP or Value field with your IPv6 address provided by your hosting company. Save it.
Step 5: Repeat step – 4 for records
ns1, ns2, www, mx, ftp and mail thereafter save it. So, it will look like the following image when you click on
List xx record button under the DNS menu. xx is the number of DNS zone records.
Step 6: Now go to the directory /home/admin/conf/web/.
You can see a number of files present there. Here you have to add your IPv6 address manually in
https website. If you do not have SSL on your server then add the IP in
Step 7: Copy all the code from the file. Press
Alt+Shift+A to set a mark. Press
Down Arrow key to select text. Finally
Alt+6 to copy the text. Remember that you have to copy all the text.
Step 8: Paste the code at the last position of that file, that is, after the text
</VirtualHost>, ended up.
Now you have tow
VirtualHost blocks in
yourdoman.apache2.ssl.conf. The first block starts with
<VirtulHost xx.xx.xx.xx:443> and ended up with
<VirtualHost xx.xx.xx.xx:8443> ServerName gkarea.com ServerAlias www.yourdomain.com ServerAdmin firstname.lastname@example.org DocumentRoot /home/admin/web/yourdomain.com/public_html ScriptAlias /cgi-bin/ /home/admin/web/yourdomain.com/cgi-bin/ Alias /vstats/ /home/admin/web/yourdomain.com/stats/ Alias /error/ /home/admin/web/yourdoman.com/document_errors/ ........................ ....................... .............. </VirtualHost>
Step 9: Now the second block also start with
<VirtulHost xx.xx.xx.xx:443>. You need to replace xx.xx.xx.xx i.e, ipv4 address by your [ipv6] one. So it looks like –
............. ............. </IfModule> IncludeOptional /home/admin/conf/web/sapache2.gkarea.com.conf* </VirtualHost> <VirtualHost [2001:19f0:5:fa4:5400:01ff:febb:468a]:8443> ServerName yourdomain.com ServerAlias www.yourdomain.com ServerAdmin email@example.com ................ .............
Save this file.
Step 10: Now edit
Step 11: Find
Listen xx.xx.xx.xx:443 ssl;. Below this line paste the following code.
Listen [xxxx.xxxx.....ipv6..]:443 ssl;
So that it looks like the following image.
Step 12: Now go to the domain provider website to add AAAA record for IPv6 address. Add
AAAA record for
@, ns1, ns2, www, ftp, mx etc. and save it.
You are done. Just wait a while for DNS propagation. It may take up to 24 hours but normally 1 to 10 minutes is sufficient for domain propagation.
Step 13: Test your website whether it is working or not. For that to http://www.ipv6proxy.net/, paste your IPv6 address in the box and click go. You will be seen that your website is working with your IPv6 address.
I think this will help you. If any difficulty arises, leave a comment below. Please let us know your thought about this topic.