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

Category: Website Design

sholloran
Asked:
2013-01-16 6:46 am

Hits: 143
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
2013-01-16 2:21 pm
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?

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. I get a database connection error. What name should I be using to configure my database connection?
  2. Unable to block .RU domains
  3. Email logs - where shall I find log on who, when, IP address, has open a connection

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!