title: Pointing domain name to server ip running XAMPP and wordpress
body: <p>I installed XAMPP on my windows server and also installed Wordpress XAMPP module. I also bought a domain to point it to my server ip. Thing is , I want that when people enter mydomain.com , mydomain.com shows in the address bar and that it keeps showing while browsing.</p>
  
  <p>First I tried to point the domain to my ip , and when I go to mydomain.com it shows mydomain.com/xampp</p>
  
  <p>Then I tried to changing:<code>DocumentRoot "C:\xampp\htdocs"
  &lt;Directory "C:\xampp\htdocs"&gt;</code>
  in httpd file in C:\xampp\apache\conf</p>
  
  <p>to </p>
  
  <p><code>DocumentRoot "C:\xampp\apps\wordpress\htdocs"
  &lt;Directory "C:\xampp\apps\wordpress\htdocs"&gt;</code></p>
  
  <p>But this time when I enter mydomain.com it redirects to myipaddress.com/wordpress </p>
  
  <p>All I want is:
  1)When someone enters mydomain.com , he will see my wordpress home page.
  2)Whenever a user is browsing mydomain.com , he will always see mydomain instead of myipaddress.</p>
  
  <p>Any help would be appreciated.
  Regards!</p>