Pointing domain name to server ip running XAMPP and wordpress

admin

Administrator
Staff member
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.

First I tried to point the domain to my ip , and when I go to mydomain.com it shows mydomain.com/xampp

Then I tried to changing:
Code:
DocumentRoot "C:\xampp\htdocs"
<Directory "C:\xampp\htdocs">
in httpd file in C:\xampp\apache\conf

to

Code:
DocumentRoot "C:\xampp\apps\wordpress\htdocs"
<Directory "C:\xampp\apps\wordpress\htdocs">

But this time when I enter mydomain.com it redirects to myipaddress.com/wordpress

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.

Any help would be appreciated.
Regards!