Welcome Guest, Not a member yet? Register   Sign In
Codeigniter in Subdomain not Working
#1

I have attached an image of my codeigniter folder structure. When in wamp it is working fine. But in Subdomain. It is not working at all.

In wamp i am running code like this
localhost/mycms/public (For public View)
localhost/mycms/admin (For AdminView)


But in Subdomain testing.website.com pointing at Document_Root/mycms/public it is working fine.
But In case of Admin it is not working !!

 As i am learning Can i Get a suitable suggestion how Do i Place the folder at right place to do the project correctly.

Thanks in Advance  !!

Attached Files Thumbnail(s)
   
Reply
#2

So, are you in control of virtual hosts through apache, or using something like cpanel?

If you are in control of the virtual hosts, you'll want to go to the subdomain's conf file in /etc/apache2/sites-available/ and check that everything makes sense.

If there is an issue that needs to be changed, change it then reload apache. If this were my confs, I would figure that I messed something up in the conf file.

If this is a cpanel or other control panel, then unless you are the server admin, just make life easy and contact the host. Helping you is why they get paid the big bucks.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB