One of the first things you’ll realize when you navigate here to buy the Synology DS718+ is that you can use the Web Station package to install WordPress sites. However, you can only install one site at a time. That being said, it’s still possible to both manually run and install several WordPress websites on Synology NAS.
If you’ve got multiple computers running any operating system (Linux Ubuntu, Mac or Windows 10) in your house and you’d like to connect to WordPress development onto the localhost from another PC in the home that uses the same home network without having to deal with Onedrive, Dropbox and WP Migrate DB Pro plugins, then you’re exactly where you need to be right now.
You should be able to program several sites onto your localhost if you carefully follow the steps below. Some of the ones you can create are showcase-pro.dev and local.dev which can be accessed from any machine logged on to your home network.
- Log into the NAS LAN
- Search for Web Station at the Package Center and then install it. You’ll then find a “web” folder created in the root of your NAS.
- You’ll also need to set up and install the WordPress package. While you won’t need to use the site that’s been created by the package, if you don’t want, it’s a good idea to take this step so that the dependencies, like Maria DB and PHP, that’ll be required can be installed.
- Install the latest Apache HTTP Server 2.4 and phpMyAdmin packages. Most people usually consider the most relevant ones to be; WordPress, Web Station, PHP 7.2 phpMyAdmin, PHP 7.0, PHP 5.6, MariaDB 10, Apache HTTP Server 2.0 and Apache HTTP Server 2.2. Keep in mind, not all of them will be needed.
- Go to the Main Menu, find File Station, and launch it. Go to the web folder and then proceed on to creating a folder for the website you’ve just created, let’s call it, ‘latest-wordpress’. Enter the folder and then download WordPress onto the computer. Extract the zip and then transfer all the content to the ‘latest-wordpress’. However, you can alternatively use the Download Station package, if you have it, and enter https:/wordpress.org/latest.zip for its URL and then download the data into ‘latest-wordpress’ and use the context menu to extract.
- Place your website into a new folder
- Transfer all the content from ‘latest-wordpress’ into the site’s new folder
- Go to Properties by right-clicking on the folder. Log into the Permissions tab.
- For the “http” user, create a new Permission granting it all Write Permissions
- Log in to the phpMyAdmin using the username “root” or use the one that you’d created when installing MariaDB10. Once you’ve logged in you can change the password to something else if you like. Get your site a new database.
- In Windows Finder/Explorer, log into the network drive of your Synology enclosed by the NAS servers and then proceed on to your site’s folder.
Change the ‘wp-config-sample.php into wp-config.php and then edit it. Create a database name. Lastly, use ‘root; as the username and then enter your password.