NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Stan78
Oct 24, 2016Aspirant
Running a few websites / domains off one NAS server
Hi Guys, Got one problem I can't resolve myself. I have PRO 6 (legacy) running OS 6.6. I managed to put my website on it with no problems whatsoever. It resolves by name, works fine, and if i w...
FramerV
Oct 25, 2016NETGEAR Employee Retired
Hi Stan78,
I have tried researching but I cannot seem to find anything pertaining to ReadyNAS. A few searches show me that in order to have would involve virtual hosting. I will try to check this further and see if I come up with something that may help you.
Regards,
- Stan78Oct 26, 2016Aspirant
Halo, and thank you for the replay..:)
By this time, I managed to do this, so now, I have OS 6.6 running 2 websites in the same time :)
The trick was to create virtual.conf file in /etc/apache2/conf.d ,containing:
NameVirtualHost *:80
NameVirtualHost *:443The second entry (443) is required to have ssl connection possible to NAS. Without this, even webgui reports errors over https.
Then (something new to Apache2) I put configuration of each website, to the separate folder, in /etc/apache2/sites-available. The folder must be in format www.yourdomain.com.conf.
Then I run a2ensite www.yourdomain.com.conf
This created a symlink to this folder in /etc/apache2/sites-enabled
Then do the same for the second domain.
After that, service Apache2 reload, and... it works :)
The one difference is that now, the webgui is avaliable on x.x.x.x/admin
I used this as a guideline:
https://debian-administration.org/article/412/Hosting_multiple_websites_with_Apache2
Just remember - the virtual.conf has to be a bit different in our case:)
Now I'm strugling with WordPress instalation...(mysql,php, and so on)
- FramerVOct 27, 2016NETGEAR Employee Retired
Hi Stan78,
What kind of issue are you experiencing with the installation?
Also, where are you getting the installers?
Regards,
- Stan78Oct 28, 2016Aspirant
Hi,
I installed from frontview:
- MySQL poussin 1.0.1
- PHP Myadmin poussin 4.0.4
- PHP poussin 1.0.0
PHP Myadmin works, but I have problem with configuration
I have my old website with Wordpress instalation. Made DB dump, copied everything from 'web' folder.
What i found over the internet, that moving WP to new server, should be only:
- copy files
- import DB
- adjust DB user/pass and links to point to new server...
Sounds easy - well... it is not..
I have my DB copy (sql fie), and I wonder.. how to import it?
Is there running server already, or needs to be created?
Lot of questions, no answers whatsoever...:)
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!