Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Shared Hosting with cPanel" to "Running Your App" [ci skip] #2768

Closed
wants to merge 1 commit into from

Conversation

jreklund
Copy link
Contributor

Description
I wrote instructions to use CodeIgniter on Shared Hosting with cPanel, but it can also be applied on Shared Hosting in general.

Checklist:

  • Securely signed commits
  • User guide updated
  • Conforms to style guide

Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am torn about this one. I am really really glad to have something to point people to with questions about shared hosting and atypical directory structures, but I’m wary of getting into specific services. I will let @lonnieezell make that call.

For the actual PR I think the content is great, and I learned something myself! FWIW in CPanel you can also define a second domain that can point to any directory, so I usually ignore the default and make my own with the regular structure.

@lonnieezell
Copy link
Member

I'm also torn on this one. I do think many people have an issue with the Primary Domain on CPanel, but there are other ways that work that will keep the files together, like mentioned in this article. There's probably a few thousand other articles out there like it since all of the other frameworks use a similar setup.

I think including a basic "server setup" page might be preferable that gives bare bones setup instructions for Apache, NGinx and on a tricky hosting platform like CPanel. But I'd like use to find the simplest way to host on a primary domain on CPanel that we can.

@jreklund
Copy link
Contributor Author

jreklund commented Apr 1, 2020

Hi, thanks for the feedback. At my Shared hosting I can't connect to the server with SSH, and haven't figured out any other ways to change it. It's a bummer that you can't change the document root from the UI like you can with addon (and sub-) domains.

@MGatner What if you want to use your primary domain you bought? Not everyone have one domain to waste. (Don't want to delete my primary domain to test it out myself, as it will wipe my current website.)

I wrote this part as it have come up a few times in the forum and people don't know what to do. I have seen people make .htaccess and redirect into /public/ folder just so their website worked. So that's why this where born. This aren't that hard to figure out if you know what you are doing, but as this is hard enough, I think the SSH part will be scary as hell.

We had a similar topic (if I remember correctly) in CI3 manual, on how to move index.php into public_html instead. But maybe this suites better for the "Learn" portal on the new website?

@lonnieezell
Copy link
Member

We still have docs on moving the main index.php file. But you bring up a good point - this would be a great thing for the new Learn section on the upcoming website. Let's leave if for that.

@lonnieezell lonnieezell closed this Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants