Click here to Skip to main content
15,910,358 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi..

Its my first time, I am going to upload my website onto the server.

My website was created using "empty web site" template and have 3 files in it at the moment.

1. default.aspx ( it has been set as start up page)
2. default.aspx.cs
3. web.config

FTP Server:

I am able to login to the ftp server (I am not an admin)
When I first logged to the ftp server (using Filezilla). Their were 3 files in a folder.

Those file names were:
1. index.html
2. .ftpquota


I was able to open the webpage in the web browser.. At that time It was not showing any directory listings. It was simply openning index.html page as a default page / home page.

I have removed index.html and coplied my website's 3 files in this folder. Now the above said directory have 4 files in it:
My websites' 3 files + 1 (.ftpquota)


Now When I am openning the URL in web browser... it is showing list of directory.

Problem:

How to deploy this simple website? So that default page should open automatically.

Please help me .. its my first job .. I have good work to publish soon with database.

Many thanx with advance.
Jass
Posted

First I'll assume the servers are properly configured to run ASP.NET

You must also copy the assembly that is created when you build the website. It is also not necessary to copy the *.cs files since they are compiled into the assembly.

http://www.asp.net/hosting/tutorials/deploying-your-site-using-visual-studio-cs[^]
 
Share this answer
 
Comments
Jass22 5-Jan-11 4:30am    
Thank you for reply.

Please find the link of the current hosting plan at
http://www.planetdomain.com/website-hosting/linux_hosting_bronze.php

This will provide information what I have on the server.
Thnax
[no name] 5-Jan-11 8:14am    
You CANNOT deploy an ASP.NET web application to this server, it is for PHP not ASP.NET.
Please read the documentation and requirements for supporting ASP.NET
Do you have access to the IIS? If that the case, right click the website, properties, Documents, move the default.aspx page to the top. If the file not in the listbox, click on add, type in default.aspx and click ok.
 
Share this answer
 
Your going to have to give us additional details as to the configuration of the IIS server and what software your working with. ie Which version of IIS (6 or 7)Next do you have access to IIS? If so what directory does it point to., What extensions are enabled in IIS (asp.net V1.V2.V4 etc etc ) Are you publishing with Visual Studio 2005,2008, 2010
or other editor such as front page or dreamweaver.
This information will help us help you...
Good luck.
 
Share this answer
 
Comments
Jass22 5-Jan-11 4:43am    
Thank you for reply.

Please find the link of the current hosting plan at
http://www.planetdomain.com/website-hosting/linux_hosting_bronze.php

This will provide information what I have on the server.

How can I deploy ASP.Net 4.0 web application on above featured server?

Thanx..
Jass22 5-Jan-11 4:44am    
I have IIS 7 running on my system with WIN Vista.. I will use Filezilla .. to deploy..
Thanx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900