InMotion Hosting Support Center

How do I make a .png file the home page?

Category: Website Design

2013-01-16 2:46 am EST

Hits: 491
I recently uploaded a .png file to be the home screen for my new website ( I only want it to be a single page site.

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2013-01-16 10:21 am EST
Hello sholloran,

You can do that by adding a file named .htaccess (note the period in front of the name). This is a text file that can have code instructions on how a site should behave.

The line of code you want to enter is:
DirectoryIndex [filename]

Replace [filename] with the name of the png file you want to have as your page.

Note that since this is a simple image, it will display differently in different browsers. For consistency, you may simply want to create an index.html page with nothing but the image, that way you can adjust it to appear the same on all browsers.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!