×
×

Temas De Ayuda & Descargas

Los Temas de Ayuda contiene documentación proporcionada por nuestro equipo. Selecciona una categoria o busca tus respuestas.

Articles

How to proxy main domain to subdomain?

If you want your domain.com and www.domain.com to serve the same contents as subdomain.domain.com then
both your domain.com and sub.domain.com should be pointed to the server's IP, setup on the server and should open. 
Make sure proxy module is enabled in your webserver (contact support if unsure). Then add to domain.com's .htaccess:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
RewriteRule ^(.*)$ http://subdomain.domain.com/$1 [P]


Powered by HostBill