How to create server wb to nas326(arm7-zyxel)
ora virtual host second site
Accepted Solution
-
You mean a webserver? While it's technically possible to let the firmware webserver (apache) host a virtual server as well, it's diffcult. The problem is that the webserver configuration is on a ramdisk, and changed on the fly by the firmware. Some time ago I have tried to create a ‘virtual server’ package, but I couldn't get it stable.
The easiest way is to start a second http server on a different port, using a non-volatile configuration file, and let your router do port translation to serve on port 80 or 443.
For webserver you can use the firmware one (copy the binary to a different spot, if you start the same binary with a different config, you'll find that the firmware will kill it if it changes something in it's web config) or one of the servers provided by Entware (Apache, lighttpd or nginx). Personally I'd not use the firmware one, because it's relatively old, and you can't add extra plugins.
0
All Replies
-
You mean a webserver? While it's technically possible to let the firmware webserver (apache) host a virtual server as well, it's diffcult. The problem is that the webserver configuration is on a ramdisk, and changed on the fly by the firmware. Some time ago I have tried to create a ‘virtual server’ package, but I couldn't get it stable.
The easiest way is to start a second http server on a different port, using a non-volatile configuration file, and let your router do port translation to serve on port 80 or 443.
For webserver you can use the firmware one (copy the binary to a different spot, if you start the same binary with a different config, you'll find that the firmware will kill it if it changes something in it's web config) or one of the servers provided by Entware (Apache, lighttpd or nginx). Personally I'd not use the firmware one, because it's relatively old, and you can't add extra plugins.
0 -
thanks for the answer :)
0 -
Buy a Raspberry Pi. Seriously.
NAS326 is an 8 year old design and Zyxel stopped delivering more NAS models, at least Raspbian might have a longer software support.
0
Categories
- All Categories
- 347 Beta Program
- 2.1K Nebula
- 114 Nebula Ideas
- 77 Nebula Status and Incidents
- 5K Security
- 44 USG FLEX H Series
- 246 Security Ideas
- 1.2K Switch
- 64 Switch Ideas
- 901 WirelessLAN
- 33 WLAN Ideas
- 5.8K Consumer Product
- 204 Service & License
- 326 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.8K FAQ
- 831 Nebula FAQ
- 401 Security FAQ
- 219 Switch FAQ
- 190 WirelessLAN FAQ
- 45 Consumer Product FAQ
- 136 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 71 About Community
- 61 Security Highlight