How can i redirect all sites to an URL?

Netmira.com

Registered
Dec 8, 2005
1
0
151
Hi, i have a VPS based Centos/Cpanel. I wanna redirect all sites/accounts (including all pages and subdomains of the domains) on the server to an url (example.com/page.html) for a short time. How can i do this?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463
Hello :)

The following document explains how to make a change that will apply to all Apache VirtualHosts:

Apache - Custom Templates That Apply to All VirtualHosts

You could use this method to setup a custom rewrite rule that redirects the websites to an alternate file or URL.

Thank you.