Default home page? ASP website

JJRM

Well-Known Member
Joined
Feb 27, 2008
Messages
439
Hi guys, I'm going to be publishing my website very soon and MWEB is hosting it. I'm a little confused as to what the name of my home page should be. I'm using ASP.NET 3.5 and so all my pages are "xxxxx.aspx". Currently my default home page is named "Home.aspx". However, with MWEB where do I specify "Home.aspx" as my home page or do I not have a choice at all?

:confused:
 

RSkeens

Expert Member
Joined
Jan 5, 2007
Messages
1,647
I do not do know their hosting setup, but I would assume the file needs to be named "index.aspx". If their servers allow .htaccess files, you can create a file named ".htaccess" with the following text:

DirectoryIndex Home.aspx

Good luck!
 

PsyWulf

Honorary Master
Joined
Nov 22, 2006
Messages
16,580
Hi guys, I'm going to be publishing my website very soon and MWEB is hosting it. I'm a little confused as to what the name of my home page should be. I'm using ASP.NET 3.5 and so all my pages are "xxxxx.aspx". Currently my default home page is named "Home.aspx". However, with MWEB where do I specify "Home.aspx" as my home page or do I not have a choice at all?

:confused:

index. xxx is your default home page unless spesified otherwise by the server admin
 

JJRM

Well-Known Member
Joined
Feb 27, 2008
Messages
439
Ok I'll run a test and publish an index.aspx page and see what happens...
 

medicnick83

Paramedic
Joined
Aug 23, 2006
Messages
21,005
Yeah, once your site is setup, share the URL.

I get any viruses from it and I'm coming hunting bru! :D
 

JJRM

Well-Known Member
Joined
Feb 27, 2008
Messages
439
Yeah, once your site is setup, share the URL.

I get any viruses from it and I'm coming hunting bru! :D

Hehehe, hey, it's nothing fancy. And its my first website anyhow so I guess I'm just proud of myself for getting this off the ground. But I'm sure its child's play for all you guys who develop sites regularly.
 

Raithlin

Executive Member
Joined
Jan 4, 2005
Messages
5,049
You're all wrong. On an IIS server the default folder redirect is Default.asp or Default.aspx.
 

Dark Agent

Expert Member
Joined
Nov 30, 2008
Messages
2,312
default.php
index.html
index.htm > index.html
Default.aspx on IIS and apache
index.xml
 

PsyWulf

Honorary Master
Joined
Nov 22, 2006
Messages
16,580
Who in their right mind would ever use IIS for a page :>
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
You're all wrong. On an IIS server the default folder redirect is Default.asp or Default.aspx.

Just wanted to post that.

default.* is usually the default on MS servers. Apache and others is setup for index.*

M$ powertrip... they decided the standard you have to follow even though W3C says otherwise
 

PsyWulf

Honorary Master
Joined
Nov 22, 2006
Messages
16,580
You're all wrong. On an IIS server the default folder redirect is Default.asp or Default.aspx.

Lemme make it simpler

Top Developers
Developer Dec-08 Share Jan-09 Share Change
Apache 95,678,052 51.24% 96,947,298 52.26% 1.02%
Microsoft 63,126,940 33.81% 61,038,371 32.91% -0.90%
Google 10,455,103 5.60% 9,868,819 5.32% -0.28%
nginx 3,354,329 1.80% 3,462,551 1.87% 0.07%
lighttpd 3,046,333 1.63% 2,989,416 1.61% -0.02%

Your blanket statement accounts for 1/3rd of websites,ours for 1/2.
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
Lemme make it simpler

Your blanket statement accounts for 1/3rd of websites,ours for 1/2.

What are you on about? Raithlin was just saying that the people quoting IIS default pages were wrong and IIS default pages are default.asp/aspx ???

So what if Apache accounts for more than half of all web servers. That has no correlation to the discussion at all.
 

PsyWulf

Honorary Master
Joined
Nov 22, 2006
Messages
16,580
What are you on about? Raithlin was just saying that the people quoting IIS default pages were wrong and IIS default pages are default.asp/aspx ???

So what if Apache accounts for more than half of all web servers. That has no correlation to the discussion at all.

I prefer it when people don't use blanket statements like "You are all wrong"
Or did you miss that part
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
I prefer it when people don't use blanket statements like "You are all wrong"
Or did you miss that part

Nope I didn't miss that part, but quoting web server usage statistics in response to his statement "You're all wrong"?

I doth not compute

So what if he used those words. His statement is still correct?



You're all wrong ;)
 

Raithlin

Executive Member
Joined
Jan 4, 2005
Messages
5,049
I love it when flame wars start from seemingly innocent posts. :cool:

I meant that the previous posters were wrong. Seeing as this is a .Net application (.aspx), I assumed (correctly?) that IIS would be used, as I have yet to find an Apache server host that supports .Net. As has already been explained, IIS uses Default.* as their index page.

Technically then, my blanket statement was correct. :p All posts before mine were wrong. :D
 

Raithlin

Executive Member
Joined
Jan 4, 2005
Messages
5,049
Who in their right mind would ever use IIS for a page :>
Oh, anyone writing for the ASP.Net 3.5 platform? ;)

I host my site on IIS - it's purely out of necessity, trust me. I've enabled PHP too, but it sucks in comparison to Apache+PHP.

.Net just doesn't run on anything else though. Not even Mono comes close on the web. :(
 

guest2013-1

guest
Joined
Aug 22, 2003
Messages
19,800
Oh, anyone writing for the ASP.Net 3.5 platform? ;)

I host my site on IIS - it's purely out of necessity, trust me. I've enabled PHP too, but it sucks in comparison to Apache+PHP.

.Net just doesn't run on anything else though. Not even Mono comes close on the web. :(

PHP+Apache= ♥
 

RSkeens

Expert Member
Joined
Jan 5, 2007
Messages
1,647
Seeing as this is a .Net application (.aspx), I assumed (correctly?) that IIS would be used, as I have yet to find an Apache server host that supports .Net.

Although you are right and they probably do run IIS, technically they could still have been using Apache as Apache can easily be configured to run asp.net code using the mono module.
 
Last edited:
Top