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

Category: Website Design

sholloran
Asked:
2013-01-16 2:46 am EST

Hits: 424
I recently uploaded a .png file to be the home screen for my new website (roguewavemgmt.com) 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.

OTHER ANSWERS

0

Scott
Staff
20,328 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?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!