It may be easier to check website functionality one step at a time. This involves creating three files. The first is placed in the web folder. The next two are placed in the WordPress folder. If the first file loads successfully using your domain name, Web Station is working. If the second page loads the WordPress folder is readable from the internet. The third page confirms php is enabled and displays the modules that are loaded and the configuration settings.
To run this test rename the existing index.html file in the web folder. Create a new index.html file with the following content:
(Edit the form action and enter your domain name and the WordPress folder name, if different)
Code: Select all
<!DOCTYPE html>
<head>
<title>Page Tests</title>
<meta name="description" content="Load HTML Page">
<meta name="author" content="SKDavis.net">
</head>
<body>
<div id="outer">
<div id="container">
<p> <form action="http://domain.name/wordpress/success.html">
<button class="button" type="submit">Click to load HTML Page</button></p>
</div>
</div>
</body>
</html>
<style>
html {
height: 100%;
overflow: hidden;
}
body {
background-image: linear-gradient(#1e4ed4, #a7bbf2);
}
div#outer {
height: 100%;
width: 100%;
padding: 10% 0;
}
div#container {
text-align: center;
padding: 10% 0;
}
.button {
border-radius: 10px;
font-size: 2em;
font-weight: bold;
font-family: Serif, Verdana;
color: blue;
}
.button:hover {
background-color: #1e4ed4;
color: white;
cursor: pointer;
}
</style>
In the WordPress folder, create two files. The first is an html file and ensures you can access the folder from the internet. The second is a php file and will display the php configuration and settings.
Name the second file success.html and place in the WordPress folder. This file confirms the WordPress folder is readable from the internet.
(Edit the form action and enter your domain name and the WordPress folder name, if different)
Code: Select all
<!DOCTYPE html>
<head>
<title>Test Page</title>
<meta name="description" content="Load PHP Page">
<meta name="author" content="SKDavis.net">
</head>
<body>
<div id="outer">
<div id="container">
<p id="paragraph"><b>SUCCESS!<br/>
Page loaded!</b><br>
<p> <form action="http://domain.name/wordpress/phpinfo.php">
<button class="button" type="submit">Click for PHP Info</button></p><br/>
<br>
</div>
</div>
</body>
</html>
<style>
html {
height: 100%;
overflow: hidden;
}
body {
background-image: linear-gradient(#1e4ed4, #a7bbf2);
}
div#outer {
height: 100%;
width: 100%;
padding: 8% 0;
}
div#container {
text-align: center;
padding: 10% 0;
}
#paragraph {
text-align: center;
color: #e5ed51;
font-size: 4em;
font-weight: bold;
font-family: Serif, Verdana;
}
.button {
border-radius: 10px;
font-size: 2em;
font-weight: bold;
font-family: Serif, Verdana;
color: blue;
}
.button:hover {
background-color: #1e4ed4;
color: white;
cursor: pointer;
}
</style>
The last file is phpinfo.php. Place this file in the WordPress folder. If this page does not load either php is not installed or is not configured correctly.