Webmatrix / IIS 8.0 not showing websites
Last post Oct 20, 2017 07:02 AM by buckaroo
Oct 18, 2017 05:58 AM|buckaroo|LINK
I hope things on your side are good.
I have downloaded 2 templates / themes from wordpress.org.
I put the folders in the my websites folder.
When I run the template from webmatrix I just get a list of the contents of the folder like doing a DIR at the command prompt. (In the browser)
How do I acutally view the template from Webmatrix 3.0?
I realise you are all busy and would really appreciate some help here.
Oct 18, 2017 07:33 AM|Yuk Ding|LINK
It looks like you have enabled the directory browsing in IIS express, please go to C:\Users\v-yukdin\Documents\IISExpress\config\applicationhost.config and set <directoryBrowse enabled="false" />.
How did you install the wordpress? I add the wordpress from app gallery, then when I finish the installation it will run wordpress installation wizard from
http://localhost:<port>/wp-admin/install.php. Then you only need to set the initialize configuration. Once you finish doing this, I can access
http://localhost:38791/wp-login.php and login the dashboard. So could you access these two URL? When you open the wordpress form webmatrix, click site button, then you should see the URL like
http://localhost:38791/. Also you could click settings to check whether PHP has been enabled.
If you need to use theme, you should place it to wp-content/theme. Then you could set it in dashboard when you are able to access wordpress.
In addition, if you need to use wordpress in IIS, please check this link:
Oct 18, 2017 08:07 AM|buckaroo|LINK
Thank you for your response Yuk.! :)
I just installed WebMatrix 3.0 I heard the wordpress would install with webmatrix.
Is this correct?
Oct 19, 2017 05:50 AM|Yuk Ding|LINK
Webmatrix will not install wordpress by default while the wordpress also require PHP and MySQL. So if you need to install wordpress manually from app gallery. Then run wordpress from your webmatrix and initialize it from web browser.
Oct 19, 2017 07:44 AM|buckaroo|LINK
Thanks again for your response.
I realise you are busy and really appreciate the help.
It turn out I did have wordpress installed.
I am not sure how to tell if I have PHP installed so I installed PHP 7.1.7 for IIS express.
(I have mySQL installed)
I open the wordpress site in webmatrix.
This opens internet explorer and navigates to http://localhost:36096/
I see the contents of the word press directory.
Any ideas why the wordpress site is not displaying?
Oct 20, 2017 03:33 AM|Yuk Ding|LINK
It means that you have enabled the directorylisting for your IIS express, just try to accesshttp://localhost:36096/wp-admin/install.php.
If you can access it, then it should only be casued by directory listing section. Otherwise, it could be a PHP configuration error.
Oct 20, 2017 07:02 AM|buckaroo|LINK
I worked out what the problem was I needed to install PHP drivers for IIS express from web platform installer and this solved the problem.
I would not have been able to fix this without your help so thank you!!!! :)