Link to home
Start Free TrialLog in
Avatar of dipster307
dipster307

asked on

moving website from my laptop on hosting company shared server

I created a website with login page, and a search page to search data in the database. This website works perfectly on my laptop.

However when I move my website onto the web server from a hosting company. The website works sometimes, and other times keep giving me the 404 error page.

This error occurs when clicking on the login button or the search button. I dont see how its
cant find the page when clicking on the search button. As for the login button, well again it works fine on my laptop.

Any ideas, on what is wrong or an solution?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
are you using any response.redirect ?

try to see which is the url giving 404 and make sure that your page exist
Avatar of dipster307
dipster307

ASKER

yes, I am using response.redirect. The paths used in this command asre fine. The format I am using is creating website in Visual Studio, and using IIS 7 on my laptop to test the website.

Yes your right about the hosting company, their IIS is setup their way, which may cause errors. But this is a 404 error, I should be able to add something to my website to setup the IIS for my website.

I was thinking that web.config controls the IIS, or is that wrong.

Remember hosting my website from my laptop works, its when the site is move onto another server at the hosting company. Its a server I bought from 123reg.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial