installing joomla /and now/ setting up directory

Tim ignored_mailbox at yahoo.com.au
Tue Sep 17 10:00:23 UTC 2013


On Tue, 2013-09-17 at 12:24 +1000, Roger wrote:
> navigate in browser to http:domain1.ek  and it downloads the
> index.html to my /Downloads folder

I can't imagine why it would download such a file, rather than display
it in your webbrowser.


> then Google finds references to that or any other fictitious domain,
> which I thought could not be real.

Making up fake domain names is something that you cannot do willy nilly.
What you might think doesn't exist, may well exist.  Or, your browser
may *helpfully* try to correct your non-existent address request to what
it thinks you may have really meant.

example.com and example.net are two real domains that exist for the
purposes of documentation (you'll see me mention them from time to
time).  They exist, and webservers respond to them.  But they're
designed to expect this, unlike making random connections to someone's
webserver, and wasting their bandwidth, upsetting their servers, etc.

If you're going to launch a real webserver, or want an internal one that
won't clash with other domain names.  Then register a domain name of
your own choosing.  You don't have to set up any services to respond to
it on the net, but the domain is now yours to play with.

> For example yuruy12rb9.erk.uck
> localhost/domain1.ek errors out with:
> The requested URL /index.php was not found on this server. Why would
> it look for a .php and not the index.html?

The default file that Apache serves when you give it a filepath to a
directory, or just the base domain name, rather than a specific file, is
configurable.  Traditionally, it looks for index.html, and many people
use that as their default pages, regardless of whether the page will
actually be an "index."  You can tell it whatever default page name you
want it to use, or even a list to look for (the first match wins).

e.g. DirectoryIndex homepage.html default.html index.html

Again, I suggest that you read the Apache manual.  This is all explained
in it.

-- 
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.





More information about the users mailing list