Hello friends..
I have developed a dynamic website using C#.net in VS 2010 .For testing my website i uploaded my files on test server but after uploading all the files when I type the url in chrome/IE/MOZILLA then a default html page gets placed on the screen in place of my
Websites's Default page.
My web project is running fine on my local-server and also on the local-server of server machine but online on passing url its not displaying anything inspite of default HTML page.
The test server i have purchased is loaded with windows server2008 , .net framework 3.5 and SQL server 2008 R2.
Thanks for your suggestion but I am not getting any error message on the screen.
The problem I am facing is that I am viewing test server Defaut static page on passing my Website name in URL and not the default page of my website that i have uploaded.
I had checked all the settings on the test server machine , with the same settings my site is running fine on local server but not on the web.
I think you will need to change the Asp.net setting on your test server. Change the order of defualt pages. keep the one you want for your home page on the top. I think this should help you.
You should also define a correct host header -
how to add a new site in IIS7. It seems that you open the default website than the new one defined by you.
upcoming_ama...
Member
2 Points
6 Posts
asp.net website is not running on passing URL online
Mar 26, 2012 08:16 AM|LINK
Hello friends..
I have developed a dynamic website using C#.net in VS 2010 .For testing my website i uploaded my files on test server but after uploading all the files when I type the url in chrome/IE/MOZILLA then a default html page gets placed on the screen in place of my Websites's Default page.
My web project is running fine on my local-server and also on the local-server of server machine but online on passing url its not displaying anything inspite of default HTML page.
The test server i have purchased is loaded with windows server2008 , .net framework 3.5 and SQL server 2008 R2.
necro_mancer
Star
7981 Points
1566 Posts
Re: asp.net website is not running on passing URL online
Mar 26, 2012 08:29 AM|LINK
hi there,
May you please copy the error message you see here? With an error message, I and the other forum members can easily help you
Thanks heaps!
Professional SQL 2008 R2 Service
upcoming_ama...
Member
2 Points
6 Posts
Re: asp.net website is not running on passing URL online
Mar 26, 2012 09:35 AM|LINK
Hello Necro !
Thanks for your suggestion but I am not getting any error message on the screen.
The problem I am facing is that I am viewing test server Defaut static page on passing my Website name in URL and not the default page of my website that i have uploaded.
I had checked all the settings on the test server machine , with the same settings my site is running fine on local server but not on the web.
usedcar
Member
2 Points
4 Posts
Re: asp.net website is not running on passing URL online
Mar 30, 2012 10:31 PM|LINK
I think you will need to change the Asp.net setting on your test server. Change the order of defualt pages. keep the one you want for your home page on the top. I think this should help you.
HostingASPNe...
All-Star
15876 Points
2974 Posts
Re: asp.net website is not running on passing URL online
Mar 31, 2012 08:53 AM|LINK
Hello,
You should also define a correct host header - how to add a new site in IIS7. It seems that you open the default website than the new one defined by you.
Regards
Free ASP.NET Examples and source code.