turner2f Posted November 3, 2016 Report Posted November 3, 2016 What is Best Way to Secure Blesta on a Server ? ======== After installing with in a public_html folder, I created a sub-domain, and then I moved it outside of the public_html folder. At this point, the URL just kept loading over and over in the browser. Even though I was using a sub-domain. ======== Is this occurring because I originally activated my license using a "regular" URL, on an install that was originally inside the "public_html" folder ? Quote
0 Michael Posted November 3, 2016 Report Posted November 3, 2016 Why would you move Blesta outside of the public_html? That means you can't access it in a browser? Or are you using cPanel which has a subdomain.domain.com folder outside? Quote
0 turner2f Posted November 3, 2016 Author Report Posted November 3, 2016 I mentioned earlier that I was using a sub-domain . But then the URL kept loading / looping over and over in the browser. Quote
0 Michael Posted November 3, 2016 Report Posted November 3, 2016 15 minutes ago, turner2f said: I mentioned earlier that I was using a sub-domain . But then the URL kept loading / looping over and over in the browser. You mentioned a subdomain but you didn't tell us how that subdomain looks because you said out of public_html. Quote
0 turner2f Posted November 3, 2016 Author Report Posted November 3, 2016 EXAMPLE: supportweb.mywebsitename.com Quote
0 Michael Posted November 3, 2016 Report Posted November 3, 2016 13 minutes ago, turner2f said: EXAMPLE: supportweb.mywebsitename.com Meh I'm talking about: /home/username/sub.domain.com/(public_html) or /home/username/public_html/sub/ since if you're using cPanel you get a choice, if you are using Plesk or InterWorx it's got it's own area. Anyway what happens when you remove the .htaccess? Quote
0 turner2f Posted November 3, 2016 Author Report Posted November 3, 2016 Using C-Panel What is your recommendation for the domain setup ? Let me know. I will test this out again and see what happens. Thanks. Quote
0 Michael Posted November 3, 2016 Report Posted November 3, 2016 18 minutes ago, turner2f said: Using C-Panel What is your recommendation for the domain setup ? Let me know. I will test this out again and see what happens. Thanks. I used to have my billing area on a separate account, so it was in it's own public_html. Quote
0 Paul Posted November 3, 2016 Report Posted November 3, 2016 Make sure the paths are correct under Settings > System > General. Make sure there are no other .htaccess files that may be creating a loop scenario. Michael 1 Quote
0 turner2f Posted November 3, 2016 Author Report Posted November 3, 2016 What should my path look like if I have a sub-domian like... supportweb.mywebsitename.com AND... The files are outside of "public_html" ? Quote
0 Michael Posted November 3, 2016 Report Posted November 3, 2016 1 hour ago, turner2f said: What should my path look like if I have a sub-domian like... supportweb.mywebsitename.com AND... The files are outside of "public_html" ? Back in my day you had subdomains making their own folder so sub.domain.com would be /home/username/public_html/sub/ or make your own account where it would be /home/username2/public_html/ Quote
0 Paul Posted November 3, 2016 Report Posted November 3, 2016 It doesn't matter if it's in public_html, because the subdomain will have its own docroot. I suspect the redirect is happening outside of Blesta. Michael 1 Quote
0 evolvewh Posted November 3, 2016 Report Posted November 3, 2016 Right now there is an option for the server admin to configure WHM to allow the subdomain to be created in it's own docroot or inside of public_html Quote
0 turner2f Posted November 4, 2016 Author Report Posted November 4, 2016 OK. I "successfully" created a sub-domain and moved my files outside of the "public_html" folder. I went to the Admin login so that I could insert the Path via Settings > System > General . And it says, that my "License Key is invalid" . So I cannot even login. ================ EXAMPLE of Key format : owned-XXXXXXXXXXXXXXX ================ EXAMPLE Directory Path is : /home/username/supportweb.websitname.com/subfolder Quote
0 Michael Posted November 4, 2016 Report Posted November 4, 2016 15 minutes ago, turner2f said: OK. I "successfully" created a sub-domain and moved my files outside of the "public_html" folder. I went to the Admin login so that I could insert the Path via Settings > System > General . And it says, that my "License Key is invalid" . So I cannot even login. ================ EXAMPLE of Key format : owned-XXXXXXXXXXXXXXX Have you re-issued your license since it will be locked to the old location? Quote
0 turner2f Posted November 4, 2016 Author Report Posted November 4, 2016 How do I RE-Issue ? ================ EXAMPLE of Key format : owned-XXXXXXXXXXXXXXX ================ EXAMPLE Directory Path is : /home/username/supportweb.websitname.com/subfolder Quote
0 turner2f Posted November 4, 2016 Author Report Posted November 4, 2016 RESOLVED Awesome. Looks like RE-issuing the license via my Account resolved ALL my issues : Dashboard --> Services --> Manage --> Manage License --> Reissue License --> Update License Status Such as with the URL looping in the browser. Thanks. Michael 1 Quote
0 turner2f Posted November 7, 2016 Author Report Posted November 7, 2016 RESOLVED Seems the issue was a 3rd party plugin called " Support Manager Addons ". Found at... https://github.com/Blesta-Addons/Support_Manager_Addons NOW the URL looping issue is officially, completely resolved. Quote
Question
turner2f
What is Best Way to Secure Blesta on a Server ?
========
After installing with in a public_html folder, I created a sub-domain, and then I moved it outside of the public_html folder.
At this point, the URL just kept loading over and over in the browser.
Even though I was using a sub-domain.
========
Is this occurring because I originally activated my license using a "regular" URL, on an install that was originally inside the "public_html" folder ?
17 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.