Webserver on EX4 with Apache2

Hi Guys

is it possible to use the WD My Cloud EX4 as a Webserver running on Apache2?

I know the Dashboard used Apache2 but when i connect over SSH and create VirtualHost in the Apache2 folder the file is after system reboot deleted.

Can everyone help me? My old Buffalo LS-XHL NAS with HTTP-Server has a harddisk crash and now i payed the EX4.

I want to host my PHP and other webprojects with the WD My Cloud EX4 on my local network.

Sry for my english, i’m swissgerman.

Thank you

Hi there,

I am not aware if the WD My Cloud EX4 requires specific steps in order to be configured as you would like to if possible.

Let’s see if other users on the community can provide you some information about it.

nobody any idea?

Guy can anyone help me please?

I have the same issue on My Cloud. Apache2 server is running fine, the site debija.com under Public share (WWW) has been enabled (a2ensite debija…) but when I run “service apache2 reload” to activate the new configuration I get error message saying "Listen cannot occur within “VirtualHost” section
Action ‘configtest’ failed.

I started having this issue with the latest firmware (v04.04.01-112). Is Western Digital blocking something that I am not aware of?

Here is a copy of the config file:

Listen 8080

VirtualHost *:8080 # Sorry carrot signs won’t appear in this post
ServerAdmin admin@debija.com
ServerName debija.com
ServerAlias www.debija.com
DocumentRoot /shares/Public/WWW/debija.com/public_html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
/VirtualHost

So I am stuck here… I appreciate any help you can provide. TIA

upload to share folder and run “ln -s /mnt/HD/HD_a2/web/var/www/web”