Welcome Guest, Not a member yet? Register   Sign In
what will be my base url after hosting to the server
#1

[eluser]Yogesh_89[/eluser]
I am using Cpanel for hosting. my home directory is /home/myusername/public_html/.
my CodeIgniter files are in Codecheck folder. I have been installed it under public_html folder. Now when i am typing my domain name then it displaying one page but not my site, it like directories cgi.bin/ and my folder name. when i click into my folder name then it start to display my site content.

please please tell me how can resolve this problem.
i dont want to open like this:wwww/mydomain.com/myfolderName/
i just want to open like: wwww.mydomain.com/

one more thing is here how to configure database setting its are giving problem?

Thanks...
#2

[eluser]Yogesh_89[/eluser]
anyone have any idea please share with me
#3

[eluser]alexwenzel[/eluser]
If you leave the the config array in config.php empty , codeigniter tries to guess your current url.
So leaving it blank helps you migrating your application.

I alwaysforce codeigniter to auto guess the base url.
#4

[eluser]skunkbad[/eluser]
A good thing to do is create a special config file for the development environment. Read the documentation on config.




Theme © iAndrew 2016 - Forum software by © MyBB