what will be my base url after hosting to the server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: what will be my base url after hosting to the server (/showthread.php?tid=55182) |
what will be my base url after hosting to the server - El Forum - 10-13-2012 [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... what will be my base url after hosting to the server - El Forum - 10-14-2012 [eluser]Yogesh_89[/eluser] anyone have any idea please share with me what will be my base url after hosting to the server - El Forum - 10-14-2012 [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. what will be my base url after hosting to the server - El Forum - 10-14-2012 [eluser]skunkbad[/eluser] A good thing to do is create a special config file for the development environment. Read the documentation on config. |