I built a website in CodeIgniter in my local machine with Apache. The website works fine. Then I moved it to IIS in the same machine and converted the htaccess to web.config, and the website still works fine with no problems. Then I moved my website to an IIS remote server in the same network, created a new site in IIS and set it up on port 81. Then I modified the base_url in the config file in CodeIgniter to http://192.168.1.40:81/.
Now when I try to access my website under that URL, I get 500: Internal server error.
I'm not sure what's causing the problem. The only cause I can think of is the port number in the URL because the website was working in my local IIS, but there was no port number in the URL or base_url. It was just the default 80.
Does anybody have a suggestion for this problem?
<?php phpinfo();work on the new IIS site? - Joachim Isaksson