Home Forums Premium Support Requests and Feedback Feature Request: Create virtual host for non WordPress site

Tagged: 

This topic contains 5 replies, has 4 voices, and was last updated by  Aleksandar 11 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 28, 2011 at 12:57 am #1499

    jetfoo
    Subscriber

    I know this is meant for WordPress but would be nice for my own little sandbox.

    October 28, 2011 at 1:31 am #1501

    admin
    Key Master

    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).

    October 28, 2011 at 5:53 am #1502

    jetfoo
    Subscriber

    Great! Thank you.

    August 10, 2013 at 3:46 pm #9968

    sashvatsai
    Subscriber

    Hi,

    Could I also deploy to website from this “non wordpress” sandbox? If yes, then how?

    August 10, 2013 at 4:43 pm #9969

    sashvatsai
    Subscriber

    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?

    November 1, 2013 at 8:24 am #10943

    Aleksandar
    s2Member Level 1

    I couldn’t find this out either like sashvatsai

    Creating a new non-wordpress site doesn’t seem to give you the db-info (user pass for set database)

    • This reply was modified 11 months ago by  Aleksandar.
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.