Welcome Guest, Not a member yet? Register   Sign In
Subdomain on shared hosting
#1
Shocked 

Hello all,

I read something about codeigniter on Stackoverflow, and want to use it on a shared hosting.
But my question is, will subdomains keep working then? Because I installed Symfony, but then my subdomains are broken.

Best regards,
Dennis
Reply
#2

(05-17-2019, 09:15 AM)dennis89e Wrote: Hello all,

I read something about codeigniter on Stackoverflow, and want to use it on a shared hosting.
But my question is, will subdomains keep working then? Because I installed Symfony, but then my subdomains are broken.

Best regards,
Dennis

Absolutely! CI is very flexible and can be used in many different ways.
Reply
#3

This is most simply done by using a subdomain for the staging version, i.e. staging.doman.com. The folder where you put the CI files isn't important as the subdomain will be set to use the directory you choose.
You will either need to have full control over the server or have a service provider that allows you to set up subdomains.
Reply
#4

I actually use CodeIgniter locally, and indeed testing also in Shared Hosting folder.
If your subdomain point at that folder and you put the right "base_url" in Config/App.php then should be fine.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB