Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to make domain point to another web directory?

My boss just bought the domain: for me, and agree'd the host my Wordpress blog on company servers.

We're using Apache (latest version).

The domain is purchased on and the DNS settings are as follows:

enter image description here

And when I visit my URL, it's getting redirected to my VPS server without problems. The thing is, I want my blog to appears at once, not have a user select the folder and then see the blog.

My Wordpress blog is located at: /var/www/

On IIS, you would need to edit the Bindings and map a domain to an application. I'm guessing I have to do something similar on Apache.

What am I looking for here? Any tips on getting this working correctly?

share|improve this question

marked as duplicate by Michael Hampton, Mark Henderson Nov 18 '12 at 20:48

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This question has been answered numerous times here, the above being only one example. Please do at least one search prior to asking your question. – Michael Hampton Nov 18 '12 at 20:39
Like I said, I don't even know what it's called. I obviously searched high and low. Searching is easy if you know what to look for. – sergserg Nov 18 '12 at 20:40
@MichaelHampton: That link doesn't answer my question, unless I'm missing something. – sergserg Nov 18 '12 at 20:41
@Serg - sorry but it answers your question exactly. The OP in the other question wants to do exactly the same thing you do. Although I prefer Devin's answer over MikeyB's as Mike's will most likely break your WP installation – Mark Henderson Nov 18 '12 at 20:47
@MarkHenderson: Just tried it following Devin's answer by changing newversion to - please reopen the question so I can get assistance. Thanks! – sergserg Nov 18 '12 at 20:54

you need to update your apache configuration files. Depending how your apache is installed and whether this is the only site on the server; start by looking in /etc/httpd/conf/httpd.conf (or /usr/local/apache2/conf/httpd.conf) You'll either be changing your overall webroot or adding a vhost.

share|improve this answer

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