Centos 7 with IPV6 at Server4You

As of 2019-10-01, the hosting company server4you.com doesn’t support IPv6, but if you want to test IPv6 or support your IPv6 capable clients there are still a few tricks you can try.
A good way is to use a broker to create a 6in4 tunnel with your IPv4 to the IPv6 enabled internet.

***** Disclaimer *****
 
This guide DOES NOT WORK if you are using their offerings of the vServer family because it’s powered by OpenVZ, but it will work perfectly with the VDS family powered by KVM or with their dedicated servers.
This is NOT a “true” IPv6 solution as you will use a tunnel broker to make a 6in4 tunnel, but it gets the job done for most workloads.
 
***** End Of Disclaimer *****
 
Continue reading “Centos 7 with IPV6 at Server4You”

Apache Reverse Proxy Example

The Simplest reverse proxy configuration possible is the code below, with this configuration your server will proxy all requests from example.com
to subdomain.example.com,

<VirtualHost *:80>
    ServerAdmin [email protected]
    ProxyRequests off
    ServerName example.com
    ProxyPreserveHost On
    <Location />
        ProxyPass http://subdomain.example.com/
        ProxyPassReverse http://subdomain.example.com/
        Order allow,deny
        Allow from all
    </Location>
 
</VirtualHost>

Continue reading “Apache Reverse Proxy Example”