Home Web Server Advice

Thor

Honorary Master
Joined
Jun 5, 2014
Messages
44,413
Reaction score
7,522
Location
Bellville
Hello, okey firstly I hope this is the right thread, I wanted to post it in hosting first, but I though this might be a better section.

Preface: I have been a windows baby all my life and recently I was lured into the Linux world with elementaryOS due to my love for apple's design. Struggles has arisen and I opted for a more stable fedora 21, also I liked fedora since it was similar to centos which I have some experience with on the VPSs etc. All in all bottom line of the preface is: "Please be patient, I really want to learn and get comfortable with Linux and actively making an effort to do so, but due to poor documentation compared to windows, I need help/assistance please please please."

Current network

Okey first let me give you an idea what my network looks like:

My wifi network is called "Periodic":

- Linux machines of which I have 3 are noble gasses (Xenon, Argon and Neon)

- Desktops and laptops(windows) of which I have 2 are transition metals (Iridium, Titanium and Zirconium reserved)

- Phones are non-metals (Carbon, Oxygen, Nitrogen, etc.)

- Virtual machines are radioactive (those machines have a short half-life; Plutonium, Uranium, etc.)

- Firewall is called Gandalf ( the whole you shall not pass :P )

What do I want to do?

On the fedora machine I have owncloud which can be accessed at 127.0.0.1/owncloud or localhost/owncloud, now I want to access that from outside.

So lets say I have a domain home.co.za, I want to access localhost/owncloud from cloud.home.co.za I also want to access my home network from asgard.home.co.za

Then I also want to access /var/www/ from home.co.za

So effectively I want to set up a web server on my fedora machine.

What do I have?

I already have the domain, and I have that domain sitting on freedns.afriad.org,

I looked at this , but this doesn't really do what I want thou:
http://ubuntuforums.org/showthread.php?t=1758930

I used "yum install inadyn-mt"

Tltr:

- Fedora 21 Machine
- Domain
- web server
- Home network

I have a fedora machine I want to make a web server and access it through subdomain.mydomain.co.za and mydomain.co.za

Also if possible I want to access my hom network through subdomain2.mydomain.co.za
 
So the steps would be something like this:

1) Figure out which device connects to the internet.
2) Device from #1 is what will need to run the dynamic dns client and update freedns.afraid.org. Usually this is your DSL router, or device sharing the DSL connection to the whole home network. Although technically the freedns client can work off any machine behind the router, as long as it is turned on 24/7 to keep on updating the dynamic dns on freedns.afraid.org. I personally have this running from my mikrotik router.
3) Set up port forwarding from the device in #1 to the main machine running either the website for all the subdomains, or will act as a proxy to another pc/server running a website.
4) Install apache or nginx, depending on your preferance. I personally use nginx for this, and I have multiple subdomains.mydomain.tld that forwards to different servers/vms on my internal home network.
5) install all the web servers on the other machines ect.

ps. You run that dynamic dns client for only 1 domain. Then the sub domains you must make cname records of the main a record that gets updated. THat way you update only 1 name and not multiples.
 
So the steps would be something like this:

1) Figure out which device connects to the internet.
2) Device from #1 is what will need to run the dynamic dns client and update freedns.afraid.org. Usually this is your DSL router, or device sharing the DSL connection to the whole home network. Although technically the freedns client can work off any machine behind the router, as long as it is turned on 24/7 to keep on updating the dynamic dns on freedns.afraid.org. I personally have this running from my mikrotik router.
3) Set up port forwarding from the device in #1 to the main machine running either the website for all the subdomains, or will act as a proxy to another pc/server running a website.
4) Install apache or nginx, depending on your preferance. I personally use nginx for this, and I have multiple subdomains.mydomain.tld that forwards to different servers/vms on my internal home network.
5) install all the web servers on the other machines ect.

ps. You run that dynamic dns client for only 1 domain. Then the sub domains you must make cname records of the main a record that gets updated. THat way you update only 1 name and not multiples.

Hey, thank you so much for the reply.
Regards to #1
This is my idea:

All my devices are connected to the wifi which is connected to the internet.

But I just want to use my fedora box as a web server. So I assume inadyn must be installed on the fedora box?

Actually I'll probably need an indestructible style guidance to get this going, I am basically learning as I go forward.
 
What I did was create an lubuntu image that I run in VMWare for this purpose. Very easy to clone, and configure. All the hard work is done :P
 
What I did was create an lubuntu image that I run in VMWare for this purpose. Very easy to clone, and configure. All the hard work is done :P

elaborate please my man :)

I don't like Debian, because my first taste of linux was ubuntu and it's k@k for me because it's not so light as people want to believe so I opted for Fedora and also since all my VPSes runs centos, the transition was easier since fedora/cent same thing.
( Only afterwards like years, did I get to know there are other better flavors of debian like lubuntu etc)

Okey so what do I want to know?

I want to access localhost/owncloud from home.co.za

I need help with what steps are actually required.

I formatted and now have Fedora 21 vanilla ( like just installed completely empty ) So after I set up lamp, how do I get the websites to link/point to the domain home.co.za

-----
( home.co.za is obviously not my real domain, just for illustrative purposes )
 
Big issue, I just realized fedora needs to be reinstalled every 6 - 8 months due to new releases this sucks epicly.

So this means I'll need to move over to debian or ubuntu.

Can someone please give me a short pro's and cons?

(I hate the look and feel of unity, but for future career skills, I can't allow that to be an influence.)
 
Last edited:
elaborate please my man :)

I don't like Debian, because my first taste of linux was ubuntu and it's k@k for me because it's not so light as people want to believe so I opted for Fedora and also since all my VPSes runs centos, the transition was easier since fedora/cent same thing.
( Only afterwards like years, did I get to know there are other better flavors of debian like lubuntu etc)

Okey so what do I want to know?

I want to access localhost/owncloud from home.co.za

I need help with what steps are actually required.

I formatted and now have Fedora 21 vanilla ( like just installed completely empty ) So after I set up lamp, how do I get the websites to link/point to the domain home.co.za

-----
( home.co.za is obviously not my real domain, just for illustrative purposes )

I am assuming he means set it all up on a VPN till you get it working. If you mess up, delete/restore without losing anything. If you succeed, just "move" the OS into the "real world", as in boot directly from it instead. Or export the settings.

EDIT: And Thor, would you mind documenting what you did/are going to do? Interested in the same thing.
 
I am assuming he means set it all up on a VPN till you get it working. If you mess up, delete/restore without losing anything. If you succeed, just "move" the OS into the "real world", as in boot directly from it instead. Or export the settings.

EDIT: And Thor, would you mind documenting what you did/are going to do? Interested in the same thing.

Going to attempt this tonight and if member assist me I'll write a neat tutorial, I'm ditching fedora due to the new versions thing.

So currently deciding between debian or Ubuntu
 
debian
but if you're a nub use Ubuntu, it does a few basic things for you.
 
debian
but if you're a nub use Ubuntu, it does a few basic things for you.

No fck that, I'm not afraid to learn, The purpose of all this is that I want to start understanding linux as I am not convinced there is too much money in windows servers anymore... ?

So you would personally choose debian over ubuntu?
 
I use Proxmox as a hypervisor for my VMs (which is Debian)

I use a vanilla Debian VM as my seed box

I use OpenMediaVault for my NAS (again, debian) and I use a container within PVE (debian) to run a webserver and reverse proxy for my internal network.

So yea I like debian :P
 
I use Proxmox as a hypervisor for my VMs (which is Debian)

I use a vanilla Debian VM as my seed box

I use OpenMediaVault for my NAS (again, debian) and I use a container within PVE (debian) to run a webserver and reverse proxy for my internal network.

So yea I like debian :P

You are doing what I want to, so Debian it is!
 
I use Proxmox as a hypervisor for my VMs (which is Debian)

I use a vanilla Debian VM as my seed box

I use OpenMediaVault for my NAS (again, debian) and I use a container within PVE (debian) to run a webserver and reverse proxy for my internal network.

So yea I like debian :P

Are all those free? Proxmox is paid I think, as I remeber looking at it and then chose fedora's server over it. i might be wrong here
 
Are all those free? Proxmox is paid I think, as I remeber looking at it and then chose fedora's server over it. i might be wrong here

Nope nope nope Proxmox is 100% free

They do have an enterprise subscription that some with things like support and such but you don't need it!
 
Top
Sign up to the MyBroadband newsletter
X