When I have decided to install the package WordPress on my Synology, it was intended to be used as a basic "Knowledge Management Software" as I explained here.
One of my requirement was however not covered out of the box by this solution: WordPress on Synology might only be configured to be accessible with one domain name.
Click to read why
- Either with the Netbios name of the NAS, accessible from the Intranet only(my home network).
- Or with the DNS name associated with your public IP, accessible from the Internet only (*) in my case.
(*) Indeed, my DNS name is associated with the IP of my VDSL modem (my "public" IP). And although all http requests are forwarded to my NAS when they come from Internet, they are not when they come from my Intranet (So far, I didn't find how to enable the Port Forwarding for this traffic and don't even know if it's possible with my modem; a Sagem Fast 3464): If I browse my DNS name from my Intranet, I get the administration page of the modem.
[EDIT] Now, when I browse my DNS name, I don't get the Administration page of my Modem anymore but a message "Your internet connection is up, please close your browser and restart it again". This is something configured by my Internet Provider in their own DNS Servers.
Fortunately, there is an easy solution:
Click to read the solution
This configuration has to be done in the file "config.php", either with the "WordPress Plugins Editor" or with your favorite editor; the file can be accessed via the system shared drive "web" of Synology: \\<SynologyHostname>\web\wordpress\wp-content\plugins\multidomain\config.php). If you do it with your own editor, read this post about file access rights.
That solution is from far easier than any advanced manual .htaccess customization and more effective than any other multi-site/multi-domain plugin I found ;)
[EDIT] I have finally decided to access my blog only with its fully qualified domain name and never with its Netbios name anymore, including from my Intranet. So, I had to solve the access issue when using a domain name within my Intranet. I use the DNS Server of my Synology for that purpose.