V
V
ViieeS2014-10-15 01:17:06
Nginx
ViieeS, 2014-10-15 01:17:06

How to organize access from the site to the home server?

Hello. Need help with the following problem. There is a website hosted on the Internet with an attached domain, there is a home server with Ubuntu Server 14.04.1 on board and a 3TB hard drive (RAID array will be organized in the future). The task is to organize access to data on the home server from the site.
My ideas:
1. Install a web server on a home server and expand it to the Internet, for access via an external ip.
Already implemented this using denwer on windows. I made a request from the site to a script that scanned the directory on the home web server. But, something tells me that this method is extremely unsafe.
2. Access via OpenVPN.
I had no work experience, I know what is widely used in corporate networks for secure access, I would like to hear a competent opinion, what features are needed on hosting and is OpenVPN generally suitable for solving my problem?
3. Transfer the entire site from the hosting to the home server.
The downside is that then you will need to keep the home server turned on all the time for the site itself to work. For my task, round-the-clock access to data on the home server is not yet needed.
Do not judge strictly, I just started to disassemble the subject, I will be grateful for the help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Odies, 2014-10-15
@ViieeS

Hello. Let's start in order, as I see it (personal opinion, I can be wrong):
1.

3. Transfer the entire site from the hosting to the home server.

I do not recommend it, especially since renting a VPS for a month will be cheaper than the cost of electricity, normal Internet, white ip, etc...
2.
2. Access via OpenVPN.

Never tried.
3.
1. Install a web server on a home server and expand it to the Internet, for access via an external ip.

This is closer to the truth... If you need access to files, install an FTP server. If to executable server files, install a web server. Just please, forget about
Already implemented this using denwer on windows.
. It's very unsafe! It's better to install VirtualBox, raise the server OS and install the server. Although, as I noticed, you
home server with Ubuntu Server 14.04.1
. On it and raise the server.

P
Pavel, 2014-10-15
@rusbaron

but I didn’t understand what was happening at all. If you want to access files on your computer through the site, then why vpn?
For me, it's one thing when there is ssh + vpn, and another thing when the site.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question