Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Disclosure: I have very little knowledge of webmastering.

I have a simple HTML page as a placeholder on my website (index.html). I've uploaded it to the website root and created the .htaccess file to point to index.html. Currently, when I navigate to the root URL, I get an about:blank page. Here's my root .htaccess file:

DirectoryIndex index.html

Any ideas on why I'm getting about:blank?

share|improve this question
    
Do you see your "Coming Soon" page if you navigate to the full URL. ie http://www.yourdomain.com/index.html ? –  w3d Feb 16 at 15:33

1 Answer 1

up vote 0 down vote accepted

I am assuming this is IE. About:blank, if I recall, is not an error page so I am working in a vacuum. Because IE likes to give friendly errors and I have not worked with IE in a long while, I will take another approach. I have not had to do this for a while, so if I miss something, I apologize up front.

Check your log file to see if you are even accessing your site. If you are not, then try the following.

Do a nslookup of the domain name. You should get an IP address in the result. If you get an IP address, make sure that is the IP address that you expect and ping that IP address. I an not sure how or where your site is hosted. If it is on your own network then likely you need to create an entry in your hosts file to a private IP address to override any domain name lookup. Windows can get a bit weird and not resolve the name until the any TTL has expired so it could be a while before nslookup or a browser can see it. Even when the name resolves using nslokup, it can take the browser a while since these are using two different resolvers.

Find the Apache config file (possibly) /etc/apache2/apache2.conf. Look for the

I took a look at my confg to see if there is anything that could trip you up and I do not see anything that comes to mind. I would try another browser like Chrome since IE does funny things. I would ensure that you can resolve the domain name to a proper IP address, then ping to make sure you can reach it. If you need to, search for wget for windows in google and download a trusted copy. Wget is more technical, but it is a command line HTTP protocol app that can tell you more about what is going on. You can use Lynx too. Lynx is a command line browser. Both are somewhat raw and do not hide errors. But they may also be beyond your scope if you are very new to this.

Push comes to shove, try removing anything in the .htaccess file and changing the Options -Indexes to Options +Indexes to see if you can do a directory browsing of the site. Also make sure that you really do have an index.html file.

The idea is to make sure you are actually getting to the site and that your various config files (.htaccess is also a config file) are not standing in the way. Once that is done then you can reconfigure your site as needed. Sometimes stripping the process down to the most simplistic form can really help narrow down what is going wrong.

Sorry that I am no longer IE savvy. I found that it got in the way of valid development efforts and stopped using it.

share|improve this answer
    
Thank you for the thorough answer. After I read through your answer, I realized there was a chance that either the developer I was working with or myself deleted an important file (config or otherwise). I went ahead and had ipage wipe very file on the site and start over. That allowed me to upload my single html "coming soon" page with no problem, and it's currently working just fine. FYI this was all in Chrome. Thank you again. –  settheline Feb 16 at 17:21
    
Glad it worked out. Funny. I never noticed about:blank in chrome. I guess sometimes you can take things for granted when it all seems to work. –  closetnoc Feb 17 at 1:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.