*New 11.3 series Release:
2019-10-19: XigmaNAS - released

*New 12.0 series Release:
2019-10-05: XigmaNAS - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

How can the www directory be made?

Webserver service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
David Seo
Posts: 1
Joined: 10 Sep 2012 04:19
Status: Offline

How can the www directory be made?


Post by David Seo » 10 Sep 2012 04:33

I am a newbie nas4free and I have not knowledges about linux commands.

How can I make the 'www' home directory to service webserver page in nas4free?

I tried to make the 'web' directory in Advanced>File Manager option.
But I can't search it in Document root field when Services>Webserver setting.

How can I do it or can make it? ;)

I want to hear you guide about it.

Platform OS FreeBSD 9.0-RELEASE-p4 (revision 199506)
Platform x64-full on Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
System FOXCONN G41MXP/G41MXP-V Bios: 080015 04/08/2011

User avatar
Posts: 1563
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Status: Offline

Re: How can the www directory be made?


Post by alexey123 » 10 Sep 2012 08:42

When you connect your storage disks, your named it.
Folder with content disk place into /mnt folder. For example - your named your disk as DISK. You can observe it as /mnt/DISK.
Create with manager into /mnt/DISK folder www with 777 permissions. Path /mnt/DISK/www.
If your plan use webserver on 80 port, you need replace webgui port on difference from 80, such 10080. NAS4free ask reboot, and give him reboot.
After reboot you can access to NAS4FREE webgui on

Code: Select all

After this step open sevices webserver.
Define document root as /mnt/DISK/www port as 80
Place into www folder file index.html with content

Code: Select all

<center><H1>It work</H1></center>
Save and restart
Open with browser

Code: Select all

Home11.0.0.4 - Sayyadina (revision 4249)/ x64-embedded on SAPPHIRE Pure Mini E350 / 8G RAM / UPS Ippon Back Power Pro 600
Lab - Prescience (revision 2545) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
New XigmanasXigmaNAS version on x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM
TEST1 - Pilingitam (revision 4333) bpi-embedded on Allwinner a20 / 1015MiB RAM

User avatar
Site Admin
Site Admin
Posts: 4924
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Status: Offline

Re: How can the www directory be made?


Post by raulfg3 » 10 Sep 2012 08:43

I create mine on /mnt/mypool/web and use this path to point Webserver service -> Document root.

PD: I need to change group:user to "www" to have rights to use it.


To create folder, you can use embeded Advanced file manager, use root:nas4free as user:password (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Last changes

Posts: 74
Joined: 26 May 2014 22:35
Status: Offline

Re: How can the www directory be made?


Post by chachi420 » 24 Apr 2018 01:04

sudo visudo

These two things were needed to do something on apache to get it all working. I forgot exactly where you add them but you add these lines to one of the files and it'll work. IF i understood your problem correctly.

Post Reply

Return to “WebServer”