Need alternate index page and ability to go to the development site

Hi I am new to apache and wordpress.  I have a site that I am developing with it and want to have a "Coming Soon Page", but when someone types in the direct or alternate url to the site specific fro wordpress I want it to render as then wordpress blog.  I created an index.html page, i believe the wordpress site usualy starts at index.php. I modified the .htaccess and the index.html acts as the default document, but when the url is index.php it redirects back to index.html
# Use PHP5 as default
 
AddHandler application/x-httpd-php5 .php
# added below to use index.html as default document
DirectoryIndex  index.html
 
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
 
# END WordPress

Open in new window

Charles BaldoSoftware DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yfastudCommented:
you should use vh to set it up, and as seen in example below, when visitors go to www.your_domain.com, they only see "Coming soon" page, but they will get to wordpress when going to www.your_wordpress.com; also, put main on top, so if visitors have typo, they will lead to the first vh which is main site ;)
NameVirtualHost *:80
 
# MAIN SITE
<VirtualHost *:80>
ServerName www.your_domain.com
ServerAlias your_domain.com
DocumentRoot "/path/to/folder/for/main/site"
</VirtualHost>
 
# WORDPRESS
<VirtualHost *:80>
ServerName www.your_wordpress.com
ServerAlias your_wordpress.com
DocumentRoot "/path/to/folder/for/wordpress"
</VirtualHost>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Charles BaldoSoftware DeveloperAuthor Commented:
Thanks a ton
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.