2015-12-06 22:18:40

hello,
I was thinking of starting a website with apache in the style of datajake. So, how do I get started, getting the website set up?

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-07 00:22:11

I can't, in good conscience, recommend you try running your own server, much less a Windows one. This is not because I think you shouldn't, but because the process of doing the thing properly is still needlessly painful.

Is there some reason you'd be unwilling to find a web host for cheap to host your stuff? Especially if it's just static content, you can bring the prices down to almost nil. You want a space to put your content, and the URL for accessing that over the net. Domains, databases, scripting, whatever strictly optional at the outset.

Now, if you want to be adventurous, and you don't mind taking risks, and you're prepared for any eventuality, then a guide like this has the low-down. Good luck.

Just myself, as usual.

2015-12-07 00:36:43

Then what would be the best free web hoasting service?

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-07 17:01:11

Good question! I never thought of "Free".

First thing's first: does your ISP offer you any? Some do.

Just myself, as usual.

2015-12-07 17:51:03

I don't know, I'm on wave braudband which I'm pretty sure doesn't aufur web hoasting at all.

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-07 21:51:26

I don't want this to be taken like a strong armed approach to me telling you what to do. I only recommend not trying to start a server under windows, especially not your main machine. If you have a PC sitting around doing nothing that you want to repurpose, fine. Also windows is inferior to *nix operating systems in the server space. That being unix based and linux, which is closer to unix than some may think. As I am entering this world myself, I can speak of the time and research and pain that goes into it, You need to be open and willing to learn new things, and implement them the right way, accepting no shortcuts. You could get to know linux in a VM before trying to deploy it. Why linux? one word, reliability.

Well that's my advert outta the way, lol. Like I said, I don't want to be taken as some people like without naming names, you need to do this, period. but experience has shown me that linux is far superior than windows. Hey, but don't take my word fo it, Microsoft are working with Debian to deploy their Azure cloud.

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2015-12-07 22:08:01

So what is the best free web hoasting service that is accessible, assuming my ISP doesn't aufer web hoasting services at all?

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-07 23:55:37

to be honest I have wandered about this.
most hosts only support 50mb worth of space with a domain.
I have been seriously thinking of having a .tk domain set for a site thats free.
a wordpress site for bloggs.
I have one of those thats free.
next as long as you have 9 bucks you want to spend a month so round 120 bucks a year buying dropbox space of 1tb is easy enough.
Now its barebones I know but it works.
another way would you to use 000webhost.com and set one up.
it gives you 1.5gb free space, the only reason you may not want to set one up there is the capchas and the fact you can't get relyable downloads from them even medium files will not go all the way through.
You will need to buy some serious bandwidth first if you want to host your own site to.
I am in progress of trying to do that here getting bandwidth to support various things and some backup mirror servers and stuff to handle drive backups and also a small server here.
However its not really the easiest thing.
And with various things, going on, my mum getting eye trouble still ongoing and hardware drives failing data loss etc I havn't got to that point.
There is prevision for the cables but no one knows where it is.
In theory I should have been able to dig it with some help but its not happened and won't till christmas now.

2015-12-08 00:15:02

thanks.

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-08 01:49:15

Wordpress and Blogger let you publish but you have to go through their platforms. If all you wanted was static content than Amazon S3 is dirt cheap, but not free. Free is always beset with some pitfall or other, but if somebody knows of one, it'd sure help.

Just myself, as usual.

2015-12-08 02:04:57

I agree. I kinda want the site to be in a kinda datajake style with inddex of / and links to subdirectories and the like.

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-08 13:33:37 (edited by Blademan 2015-12-09 11:59:01)

Hi.
First, I'd like to heartily agree with the people above:
If you want to serve anything, windows is really not optomal for that. Linux is rock solid
There are a few ways you can go about getting access to a Linux box. Like someone suggested above, try it in a VM and SSH in, buy a cheap linode, or (what I would recommend), buy a raspberry pi. There are seveeral threads here on the forum that talk about how to set one up.
(FYI) the Raspberry Pi is a little 35 dollar computer the size of a credit card that makes an excilent little server or hackable hardware project.
I use mine for tons of stuff, and it works great. It would be perfect for a blog, database, teamtalk server, etc. You would need to buy one, set it up, and plug it into your router, then forward the necessary ports (80 for http, 443 for https...).
There is much more you can do with Linux than just host a website or blog, google and see what your interested in.
Also... WHy apache? Why not Nginx?

Regards,
Blademan
Twitter: @bladehunter2213

2015-12-08 15:21:26

What I did was go through A site to get me a .tk domain and then went over to freehosting.eu and created an account there, that gets you a C-panel control panel where you have all the features like mysql, PHP5 and a bunch of other stuff. Then I threw wordpress on it using filezilla to upload it. the installation was painless.

Facts with Tom MacDonald, Adam Calhoun, and Dax
End racism
End division
Become united

2015-12-08 16:37:51

use copy.com for free 15 gb storage but free is allways pane full

2015-12-08 17:36:02

what site did you go to to get the .tk domane?

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-08 19:18:23 (edited by livrobo 2015-12-08 19:19:50)

I'm with Blademan. I'd prefer Nginx over Apache. Like others have said, your best bet is to get a virtual machine, a vps, or a pi and go from there.

If a helicopter falls in the field and no one's around, it doesn't make a sound.

2015-12-08 23:21:38

how do I have the linux vm connect with the windows one?

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-08 23:42:44

I'm a lighttpd person, myself. Not quite as lean as nginx, but a bit more feature-complete core-wise.

You can run a VM anywhere VMs run: on a public cloud, or in Workstation on your computer. What do you want to do?

Just myself, as usual.

2015-12-09 02:30:27

what about mac. is mac os good for servers as well?

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-09 12:04:28

I know that apple has OS 10 server, which (as I understand it), basically lets you host your own mini iCloud. It's 20 bucks (again, last I knew of it), and runs on existing mac hardware.
But honestly? Unless your a big enterprise that's really not what you need.
Now if you've got a mac just sitting around, always on, connected to the internet? Sure, you could make that a server.
But generally home PCs are not what you want for a server, even a small personal one. Better to run a VM with a cloud service, re-purpose (and by re-purpose, I mean take an old computer down to your mom's basement, hook it up to the net, slap a Linux OS on it, maybe give it a few harddrives, and accept that it's gonna stay there, doing nothing else but be your server...), buy a pi, etc.

Regards,
Blademan
Twitter: @bladehunter2213

2015-12-09 19:05:12

thanks!

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-10 18:05:03

I wanted to use OS X Server on my Mac Mini as my complete solution for everything from Internet gateway to mail and web services. It's good for the basics, but in typical Apple fashion it takes quite a bit of control away from you; you can't edit config files manually and expect to get away with it for long. Moreover, if you're not careful, it wants to set up as a DNS server which it insists you make your entire network's default DNS server. It is not what I'd call enterprise-grade, but there are certainly lots of features within that you don't require. It didn't have some of the things I wanted, either, like RAID6 for my external disks, IPv6 support in the gateway code, or DNSSEC. There'd be no harm in trying it though. If it fits your needs, there ain't nobody can take that from you. But in the end, I set up my Mac Mini as a Linux box, and did the work myself. I disagree that PCs can't make good servers--indeed, they often make the best servers, if they have sufficient CPU, memory, bandwidth and disk--but it doesn't have to be a monster either, and the heavier and noisier it is, the harder it will be to maintain and the more parts that can fail.

As an aside: you don't actually require OS X server to use the web server. Apache is bundled with OS X. Nothing would prevent you from simply starting it up, and beginning to serve files from it yourself, configuring it as necessary just as you would on a Linux machine. Here's a guide for reimplementing the feature that was removed from earlier versions of Mac OS.

Just myself, as usual.

2015-12-11 05:07:46

Oh huh. Could you link to how you set up your mac with Linux? (I'm assuming you duel-booted rather than running it inside a VM)?
But yeah, no reason you can't run apache / nginx on a spare mac.
Personally, I use Nginx, and I'm about to set up owncloud again, though that's not really what your looking for.

Regards,
Blademan
Twitter: @bladehunter2213

2015-12-11 18:00:23

thanks for the guide, I'm going to read it someday. I actually decided to wait to set up the server until I have a spare working computer and another router, because if my parents catch me connecting my computer to their router the I'm fucked.

be a hero and stop Coppa now!
https://docs.google.com/document/d/1Dkm … DkWZ8/edit
-id software, 1995

2015-12-13 19:19:28

@Blademan: Debian Sid AMD64 running natively (no virtualisation, no dual-boot). It was quite an involved procedure, actually. What I ended up doing was setting up an environment in BIOS mode on an external USB stick, booting from the stick, and then using it to fetch and install onto the internal SSDs (two of them, in RAID0) with debootstrap in the Mac's native EFI mode. This was necessary because I didn't have a 64-bit Linux image that was accessible handy. If I were doing it now, the first step would be to image my existing Linux VM onto the stick, then use that to install onto the internal drive. Sadly, the current Debian installers still don't know how to install in EFI mode directly onto Macs; Macs have some very strange behaviour. But you can follow some steps to do it by hand. I can assure you this was a multi-day project, and now that said machine is my default gateway, one I'm reluctant to repeat. smile

Just myself, as usual.