Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: addon domain will only load with /inde.php

    Quote Originally Posted by discoverytdi View Post
    Just heard back from my host this is what they have advised
    Restrict Access to Addon Domains through the Main Domain
    Summary

    All Addon Domains must be associated with a subdomain. You are able to disable access to the subdomain, this article will show you how to do this....
    So basically their tier I/II support is saying they will not allow you to have two domains under the same account with separate "document roots"... Not the ideal situation for hosting two separate domains.

    This impacts far more than just "blocking web access to the defined dummy subdomain" and "blocking web access to the 2nd domain's document root from the 1st domain" (Which is all the rules they gave you do)...

    This also impacts the contents of the ".htaccess" files in the document root of both domains... You will have to address the issues caused by having nested "docuement roots"... Including needing to REMOVE all "Redirect" directives in the two ".htaccess" files (you can replace with RewriteRules). You will also have to add special rules (additional RewriteConds) for each and every RewriteRule to only apply the rules based upon their containing folder and specified host name... Just plain ugly...
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #2
    Join Date
    Mar 2014
    Location
    United States
    Posts
    4
    Plugin Contributions
    0

    Default Re: addon domain will only load with /inde.php

    Hi All - I'm not having a load problem but I am having a problem keeping the addon domain names in the address bar.

    For example, I have zen cart setup with domain1.com. Then I have doamin2.com and domain3.com added to my main account as addon domains with the root as the zen cart.

    Using any of the domain names, zen cart loads with the proper domain name in the address bar BUT with the addon domains, if I click on anything within zen cart, the URL in the address bar changes back to the domain1.com and does not continue to stay with the addon domain used.

    I do know about the configure.php file but wasn't sure if making changes there would render me errors.

    Any suggests here???

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: addon domain will only load with /inde.php

    Quote Originally Posted by nyrainman View Post
    I do know about the configure.php file but wasn't sure if making changes there would render me errors.
    You do need to change these files. It will only render errors if you make a mistake. :-)

    Cheers
    RodG

 

 

Similar Threads

  1. Host forced php upgrade to 5.3 Now site will not load
    By sperdie in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 17 Dec 2015, 04:15 AM
  2. v139h I Need An Addon That Will Allow Me To Only Sell Certain Products With Other Products
    By CaptainFacePalm in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 14 Feb 2014, 08:29 AM
  3. New Install - admin.php will not load properly
    By Gary777 in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 3 Oct 2008, 10:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg