Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28
  1. #21
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Root or subdirectory?

    Quote Originally Posted by robbie269 View Post
    Just tried the same thing but as an add-on domain. And it worked! Now my problem is, do I really want my site to go down while I swap it all over???
    So I was going to askif you had cleared your cache regarding the earlier attempt but it looks like you may have found a way to make it work. What I would do is download a copy of the configure.php file for the store. Modify it locally, then set the store side to be editable. Find a convenient time to momentarily take the site down. Adjust the cpanel setting and upload the new configure.php. Reset the permissions on the store's configure.php file and then go make the necessary changes to the admin side. Down time as lat9 said should be minimal.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #22
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Root or subdirectory?

    My next question with add-on domains is how does that affect my SSL certificate? Especially if I swap things like the primary domain to an add-on domain.

  3. #23
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Root or subdirectory?

    Quote Originally Posted by robbie269 View Post
    My next question with add-on domains is how does that affect my SSL certificate? Especially if I swap things like the primary domain to an add-on domain.
    While lat9 or someone else may be able to provide a direct answer, I would suggest speaking with the host about it, they may need to associate it with a different directory, but it is afterall still the same uri just found somewhere different (under the covers). :) you may be able to figure out the specifics from the host's site, or momentarily try it and see if 1) it works or 2) you get a certificate error. Again, finding an opportune time to try it, and possibly posting a temporary outage for the site. (15-30 minutes should do.)I'm thinking that it will not be an issue if it isn't one now.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #24
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Root or subdirectory?

    Well I have done the swap this morning to an addon domain. Problem with SSL certificate at first but my hosting company has sorted it out.
    All good so far.

  5. #25
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Root or subdirectory?

    Congratulations! I'm glad that it's working for you. When it comes time to upgrade, you can follow the procedure I outlined above to make your transition easy.

  6. #26
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Root or subdirectory?

    Quote Originally Posted by lat9 View Post
    Congratulations! I'm glad that it's working for you. When it comes time to upgrade, you can follow the procedure I outlined above to make your transition easy.
    Thanks Lat9. Regarding upgrading: will the addon domain care if I rename its subdirectory from say "shop" to "shop_old" when I am about to upgrade. ie when I finally change the "test" directory to "shop" will I have to relink the addon domain and also setup emails again. Does that make sense?

  7. #27
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,970
    Plugin Contributions
    96

    Default Re: Root or subdirectory?

    From what I've seen, once you've setup the add-on domain to "point" to a specific directory you're finished. Performing the directory-swap shouldn't affect the site's operation (once you've completed the process of renaming shop to shop_old and then shop_new to shop).

  8. #28
    Join Date
    Feb 2010
    Location
    New South Wales, Australia
    Posts
    228
    Plugin Contributions
    0

    Default Re: Root or subdirectory?

    Quote Originally Posted by lat9 View Post
    From what I've seen, once you've setup the add-on domain to "point" to a specific directory you're finished. Performing the directory-swap shouldn't affect the site's operation (once you've completed the process of renaming shop to shop_old and then shop_new to shop).
    That's what I'm hoping!

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 2
    Last Post: 4 Sep 2014, 01:55 PM
  2. root or subdirectory?
    By fakeDecoy in forum General Questions
    Replies: 8
    Last Post: 25 Apr 2011, 06:03 PM
  3. subdirectory to root
    By stitchnkitty in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 31 Dec 2009, 07:13 PM
  4. Replies: 1
    Last Post: 10 Jun 2007, 09:20 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