You can actually create an empty blueprint folder titled “non WordPress site” or “Blank website”. Simply select it as your ‘version’ when you create a new website definition and then you can have your virtual host that points to your new “non WordPress site”.
DesktopServer will create an empty database as well, if you’d like to use that too. If you have any SQL that you would like executed, you can do that by just including it inside a file titled ‘blueprint.sql’ inside your ‘Blank website’ blueprint subfolder. If you want to know the database credentials, then include a wp-config-sample.php from a legitimate version of WordPress in the your “Blank website” folder. Then you can use the credentials that you find inside the wp-config.php file it creates. Any files that you place in your ‘Blank website’ blueprint subfolder get copied to your website definition. Note that DesktopServer creates and destroys the associated database when you create or remove a DesktopServer website definition (regardless if it is a WordPress website).
I also want to access my database on this blank website. Tried going to the http://127.0.0.1/System and accessing phpmyadmin but I couldn’t find my database there. Would you know how I could access this database?
Creating a new non-wordpress site doesn’t seem to give you the db-info (user pass for set database)
This reply was modified 1 year, 1 month ago by Aleksandar.
Viewing 6 posts - 1 through 6 (of 6 total)
The topic ‘Feature Request: Create virtual host for non WordPress site’ is closed to new replies.
WordPress is a registered trademark of the WordPress Foundation. serverpress.com
is neither affiliated nor endorsed by the WordPress Foundation. serverpress.com
and the serverpress.com logo is a trademark of ServerPress, LLC.