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
- 415 Beta Program
- 2.4K Nebula
- 151 Nebula Ideas
- 98 Nebula Status and Incidents
- 5.7K Security
- 277 USG FLEX H Series
- 277 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.4K Consumer Product
- 250 Service & License
- 395 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.6K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 75 Security Highlight