Basic Apache/PHP Start Page

When I set up a new website, I like to put a basic welcome page in the public_html folder to test that it’s working and look halfway decent. Here’s what I use. It just echoes the hostname from PHP, thus providing feedback that both Apache and PHP are working (along with DNS, hopefully)

Code: https://gist.github.com/zyphlar/2606742

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s