Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

When a website's main page cannot be opened as in this example, is it possible to find out the full address? In this example, I tried /index.htm and /index.html without success.

share|improve this question
    
Site looks fully up and running –  Eight Days of Malaise Oct 12 '10 at 3:39
add comment

4 Answers

up vote 3 down vote accepted

In the case of the above URL, you're seeing the Apache "test page", which is displayed when you start the daemon without either placing files within your web root, or customizing your config file. It's because the default DirectoryIndex doesn't find a matching file, which would normally be the main page of a URL ending in a slash.

The above file is actually just an "ErrorDocument" rewrite, that says if there is no content the server should display the file under /error/noindex.html; so in the above case you can see the actual file under http://www.cetmiolive.com/error/noindex.html to verify it's HTML.

To normally find the type of engine rendering a page on a website, I usually use the same method as you (try index.htm, index.html, index.php, Default.asp, default.cfm, etc.) to see if I can determine the source.

That does depend on a default installation though - if you change your handler (for example, have html files actually be processed by the PHP engine) then you can mask the engine driving the website - but still determine what the file name for the directory index is.

Now, in the case above, when rewrite rules or ErrorDocument functionality is used, it's anyone's game to find out. Those mask the URL or change the way the server interprets URL requests, making it extremely difficult to locate the file.

share|improve this answer
    
To figure out what engine a page uses, see also: webapps.stackexchange.com/questions/967/… –  Senseful Sep 16 '10 at 20:22
add comment

In this particular case, asking Google for all content on that domain comes up with a blank, in other cases searching with site:www.example.com in Google could quite easily come up with the main, or most popular, pages.

share|improve this answer
add comment

They probably don't have anything there yet, as others have already eloquently pointed out.

However, some other variations you might try include:

  • index.asp
  • index.cfm
  • index.jsp
  • default.htm
share|improve this answer
    
I would highly suggest Default.aspx (and maybe Index.aspx). .aspx is for ASP.NET whereas .asp is classic asp. ASP.NET is a much newer and classic asp is rather old. –  Rebecca Chernoff Sep 16 '10 at 17:58
add comment

They may actually be under construction and not have an index page as of yet. Try again later.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.