I have recently decided to host my domain with DreamHost. After doing the one click install of WordPress and getting everything set up correctly, I discovered that the blog portion of the site is only available at the ‘.net/blog/’ url and the general ‘.net’ url shows only the DreamHost quickstart.html file.
To remedy this, I uploaded a file named ‘index.php’ to the root directory of my website. This file contained the following code:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://topsecretgames.net/blog" );
From what I’ve read, this should suffice to make it redirect. However, every time I try to access the root domain I am, once again, shown the quickstart page.
Do I need to restart Apache to make it take effect? Can I restart Apache from the control panel? Is there a better way to make it redirect my root domain to a subfolder?