I purchased a domain: josecvega.com
Whenever someone tries to access http://www.josecvega.com it forwards them to my web-server.
I have turned ON the mask, so when you initially reach my web-server of IP, 68.42.56.13, it still shows http://www.josecvega.com, but when you click on a link that takes you to another location on my web server, the http://www.josecvega.com disappears and turns into the IP address. I am currently trying to see if mod_rewrite can help solve this problem.
This is what I have so far in httpd.conf
RewriteEngine on
RewriteCond %{HTTP_HOST} =68.42.56.13
I am not sure how the rule would go to rewrite the URL.
Edit:
My httpd.conf
I also understand that this issue is not strictly related to mod_rewrite, but I have tried fixing it in many different ways and non have seem to work, I was hoping that it could be done with mod_rewrite.