Welcome Guest, Not a member yet? Register   Sign In
Help With .htaccess - Trying to Mask Domains
#1

[eluser]Jay Logan[/eluser]
Originally, I set up a CMS to manage 100+ TLD web sites. Each domain was set up as a parked domain in my cPanel account. But I now want to make each TLD site it's own hosting account under my cPanel reseller account.

I've managed to get a new site to running off the same CI installation. But I can't get assets like images and CSS to load correctly.

Before, I could use www.subsite.com/images/1234.jpg to work but now I have to point the image tags to www.originalsite.com/images/1234.jpg. Is there anything I can do with .htaccess to mask the domain? Something that will point all requests like www.subsite.com/images/(.*) to /public_html/main_account/images or whatever.

Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB