My personal website only displays:"It Works" when I access it, how do I change it?

After installing a new harddrive and Snow Leopard on my macmini I can't access my website from a browser.  It does access when I type in the address on my network in my browser followed by:"~username".  The only thing it displays when I type in my "http://xx.x.x.xx/" address in my browser is: "It Works".  I've seen mulitple posts regarding this problem on the Web but I was looking for a way a novice like me might be able to correct this!  Please help!

Two approaches...
-- command line --
From the command line, launch Terminal.app from the Applications > Utilities folder, and issue the following commands:
cd /Library/Webserver/Documents
cat index.html.en
That command sequence shows the HTML file that is the root file on an Apache server on Mac OS X client.
If you wish to edit the contents of this text file, use the following two commands:
sudo cp index.html.en index.html.en.save
sudo pico index.html.en
The sudo request will require an administrative password be input, as these files are protected against general access.  The first of the two commands creates a copy (cp) of the file, which you can use to recover the original file, if that's needed.  The second command (pico) invokes a text editor, and some on-screen text-editing commands will be displayed at the bottom of the display. 
There are other text editors at the command line, but pico is usually the easiest for a new user.  You'll use the control key and a letter - as will be shown on the bottom of the pico display - to perform whatever file changes you might require.
-- GUI --
To use the GUI and to avoid using the command line (and which is going to be a bit of a problem going forward, as the command line is how most of Apache is managed on Mac OS X (client) systems), you can use the following sequence:
Download and install the TextWrangler tool (this or an analogous tool is necessary, because the default TextEdit tool doesn't work with the following sequence), select the File menu and select the Open File By Name item, and enter the following file into the search box:
/Library/Webserver/Documents/ndex.html.en
You can then access and modify the file from the GUI.
-- Caveat --
Do not use Microsoft Word, nor Apple iWork Pages, nor the TextEdit tool, nor any other tool that can't read and write a simple text file, to edit the Apache HTML files and related.  While some of these other tools might be able to read the file, most of (all of?) these will be unable to write text files using a format that Apache and related can read and correctly process.
-- Caveat --
I am specifically differentiating here between Mac OS X - what I'm referencing as "Mac OS X (client)" - systems and Mac OS X Server systems.  The Mac OS X Server package is a configuration and upgrade that adds various tools and features to Mac OS X (client) systems, and part of the Mac OS X Server package includes easier management of web sites.  Mac OS X Server and its web directories are generally managed somewhat differently from Mac OS X (client) systems.  If you don't know what you have and if you didn't buy Mac OS X Server (directly, or as part of a Mac Mini Server or Mac Pro Server configuration), then it is likely that you have the Mac OS X (client) configuration.  Most Mac systems are sold with Mac OS X (client) software.

Similar Messages

Maybe you are looking for

  • Hi i am trying to disply image in adobe forms using ABAP, But i can't abl ?

    hi friends, I am using adobe forms to display the VORNA , NACHN and EMPPHOTO. for this i created an interface with the 3 import parameters like IM_VORNA, IM_NACHN and IM_PHOTO. Then i desingned the form with this interface. I dragged the IM_VORNA, IM

  • Error while installing OEM Grid Control

    I am getting error while installing OEM Grid control (with existing database) at OMS Configuration. So, I cancelled the installation and deleted all databases and started the instal again. I am still getting an error at OMS configuration. I am trying

  • Can't save iTunes library file

    hi all of a sudden i've started continuously getting an error message in iTunes 7.6.2.9 saying 'the itunes library file cannot be saved. you do not have enough access priviledges for this operation.' i haven't changed anything on itunes or my compute

  • MSI GTX970 Gaming 4G VBIOS Request

    Is there a newer VBIOS for my card? Serial number: 602-V316-03SB1409038171 I have attached the current BIOS. GM204.zip (136.14 kB - downloaded 8 times.)

  • Mistake re. post below: Anyone know about Optiarc AD7633A (not 7630A)?

    We have to replace, for the 2nd time, the Superdrive in my sister's 15" Macbook Pro 2008. Very unreliable Panasonic drives. I don't have a replacement Panasonic on hand (which may be a good thing!), but I do have a Sony Nec Optiarc slot-loading AD-76