How to setup a WordPress site which is running via Xampp on Windows Server


First of all I want to say sorry if this is not the right place for the question I am putting here. But since over the years, Stack Overflow community has saved my life in numerous occasions, I am looking for your assistance for one more time.

I have a WordPress website running via XAMPP installed on a Windows Server. The site is running fine using port 8080 at the moment as But now I need to run the site under from the same location.

I tried by creating an IIS website and pointing it to the the designated folder, where the WordPress site is hosted, i.e. C:xampphtdocsyd, but it is giving me a .NET error.

Then I created a new folder inside my IIS webroot, and copied all contents from C:xampphtdocsyd inside this. Completed all steps as shown here and here.

In addition to the above, I moved index.php at the top of the list in IIS Default Document setting (although it is not really necessary)

When I run the site I get a 500 error. Is there a workaround to this problem?

Subrata Sarkar 8 months 2020-12-05T04:10:51-05:00 0 Answers 9 views 0

Leave an answer