I need some help, I have purchased a domain and I am using visual studio to publish the website via FTP. It publishes successfully but when I go into the website I get the Directory Listing Denied error, and I am assuming that this is due to the fact that there is no home page because when I go the address and append /Page.aspx to the address it works fine.
Is there any way that I could set the default page for the website I am publishing to point to the default page?
Please help.
Thanks in advance.
Easy answer: rename your default page to Default.aspx.
Or, if you have access to IIS configuration settings, you can specify the default documents.
YOU need to spesify what page you want to use as your default based on the iis Default Document
You should have access to a ISP control panel where you can specify the default page.
They are usually the same pages in most ISPs:
Default.aspx
Index.aspx
Related
My web server just changed to asp 3.5. My site isn't finding the main domain. It shows a 500 error. But it does show inner pages. e.g. mysite.com & mysite.com/?var=thing etc all show a 500 error but mysite.com/inner.asp & mysite.com/inner.asp?var=thing display the page fine. I don't understand the problem. My home page is named home.asp.
The default page created when you create a new website is
default.aspx.
Using IIS, you would go to your website, and select it. Then under the IIS settings, you have Default Document setting. For me, this is where I would specify what to use if no page is requested. Not sure how you are hosting, but maybe this helps. Good luck.
DefaultDocumentSettingInIIS
A quick question. Pointing to admin panel in my website on IIS 5.1 (XP Pro) like this
localhost\testsite\admin\
automatically picks default.aspx on my machine but it does not on server2003 which uses IIS 6.0. Do I need to change something for that to work, may be permissions?
Is it a good practice to point to admin/default.aspx or just /admin/. I prefer the later.
Thanks
On your server2003 IIS, have you verified that
Default documents are enabled
Default.aspx is on the list of Default docs
Right-click your website, Properties->Documents
Follow the instructions on this page and ensure that default.aspx is configured as a default document:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/dc6eb1b4-9028-4308-9935-52b64edfad36.mspx?mfr=true
This might be a really stupid question and make you guys laugh. I've deployed my whole website using the copy website tool to my FTP server, but then how do I go and visit the site that I just deployed?
The domain name is: H204716.dreamsparkhosting.com however when I navigate there through my browser it says
403 - Forbidden: Access is denied.
You do not have permission to view this directory or page using the credentials that you supplied.
What is the file name of your default page? Its possible that if it's odd enough (ie, not home.html or default.aspx or index.html etc.) that the site doesn't know what page to load.
Have you tried
http://H204716.dreamsparkhosting.com/myDefaultPageName.html?
You may also want to log into your DreamHost account and explicitly set the default page for your website. That way your users can just type in http://yourdomain.com/ as opposed to ...yourdomain.com/i-know-the-defaultpagename.aspx
I want to display index.aspx instead of default.aspx in the root of folders in my ASP.NET app but can't figure out where to set this.
This is a change that you need to make in IIS. Please see Setting Up Default Documents for how to do this:
You can establish a default document
for client requests to a Web site that
does not specify a document name.
Default documents can be a directory's
home page or an index page.
It should be called "Default Document" in your IIS setting.
Here is how to do it in IIS 6 http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/dc6eb1b4-9028-4308-9935-52b64edfad36.mspx?mfr=true
In IIS Manager, right-click the web site and choose properties, click the 'Documents' tab, and add index.aspx to the list.
I am using asp.net 3.5.
My Hosting provider has given me a folder to upload my publish application, now when I am entering www.example.com, I am not getting my homepage, but when I am running the same application on my local I am getting home page.
Please let me know what I have to modify so that when usertype www.example.com it will open like www.example.com/homepage.aspx
Please help.
Thanks in advance
The standard default page name for ASP.Net is Default.aspx, not homepage.aspx.
Rename the landing page to Default.aspx
Or, create a Default.aspx page and have it do a redirect homepage.aspx
Or, see if your hosting provider will configure your site to serve up homepage.aspx as the default page.
Could it be a domain name issue?
Locally you probably use http://localhost/homepage.aspx?
Has the domain name "www.mysite.com" been configured/activated for you by your provider?