var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Multiple domains on a single cPanel account.
I want to park multiple domains (3+) domains on a single cPanel account. Yes, I'm allowed to park upto 5 domains.
However, I need to point each domain to a different directory, But I'm having a lot of problems with it.
Can anyone please guide me on it.
1. write a script which detect the host header of the domains and redirect it to the appropriate subfolder
2. use the "Setup/Edit Domain Forwarding" in the WHM to help you create the forwarding
1. I already used a php script, it works on another servers, but doesnt work on this box.
2. I dont have access to WHM on this box.
This is exactly what addon domains are for -- use them instead. This is the correct solution.
Failing that, use a script. It'll work if you debug it. Needs to do a URL match and then use header("Location: blah/"); to redirect to the new directory.