First thanks again for the help...now on to the continuing saga...
I had to add an entry in the Index Files section of Abyss, so now I have:
index.html
index.php
index2.htm
Index.htm
being accepted. What this got me is, both
www.michaelsplayground.com and
www.paragoncityguardians.com going to the same page, the index page for
www.michaelsplayground.com.
Here's what the index.php script looks like:
<?php
/*
Bluedog's Multiple Domain PHP Script
This script was created to help Abyss Web Server users so that they could host more than one site using
different domains and so I made it easier to program this script for their domains by creating a easy to use
site creator that can insert new domains instantly after hitting Submit Me!. Enjoy the script!
System Requirements:
1. Abyss Web Server (PHP Installed)
2. Alot of free domains or paid
Now Installation!
Go to your main htdocs folder and rename your index.html to index2.html. At the top of your Internet Explorer
browser , click on Edit than Select All, click on Edit again and this time click on copy. Open up NotePad and
click on edit than paste , save the file as index.php and put that file in your htdocs folder. Your Done!
*/
//get domain entered in browser
if ($_SERVER['HTTP_HOST'] == "
www.paragoncityguardians.com") {
//forward to appropriate page
header("Location : PCG/Index.htm");
exit;
}
//get domain entered in browser
if ($_SERVER['HTTP_HOST'] == "
www.michael-alicea.net") {
//forward to appropriate page
header("Location : Poetry/Index.htm");
exit;
}
//end duplicating, insert below.
//else show Main Page
else {
header("Location : index2.htm");
exit;
}
?>
Now if I am understanding it all correctly, I don't need an entry for
www.michaelsplayground because thats the default page if it can't match the url coming in. It just seems to me that the index.php file isn't working the way its supposed to.