Author |
Topic |
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 09 2011 : 06:22:15 AM
|
I have been experimenting with website hosting from a dedicated server for a few days, with success. XAMPP was a bitch, IIS on Win7 was nice and easy.
Due to my lack of knowledge in this area I would like experienced input on common questions a newbie like me would ask.
1) What OS would you recommend? 2) What HTTP website hosting program would you recommend?
The reason why I ask is because I want to avoid running into problems down the track, if and when I decide to upgrade the server's and website's capabilities.
I intend to use mySQL at some point and at the moment I have no idea how I would connect it to my website.
This is all just an experiment. Nothing serious.
Thanks. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 09 2011 : 08:34:36 AM
|
Okay here's what's being used now.
Resurrected Laptop: Windows 7 64bit IIS7 2GB Sys RAM 2.40GHz Dual Core
Visit: http://jrcamenzuli.no-ip.org/
It's a test website I made 2 years ago. Let me know if it works. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 09 2011 : 11:19:52 AM
|
The server's throwing a tantrum at the moment. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 10 2011 : 01:46:08 AM
|
Has anyone here heard of NETGEAR routers going belly-up due to failed internal power supply (Voltage regulation and conditioning section)?
About three weeks ago my one died. The power indicator was not turning from orange to green, so I laid down a theory that the power supply section inside the router was not working properly as everything else power wise was OK. I pulled it apart and found two bulging capacitors in the power supply section of the board. So yet another thing to fix.
Just yesterday the NETGEAR modem that was being used for at least two years stopped working and was showing similar symptoms to the NETGEAR router. I have yet to crack it open and see exactly why.
Lucky I have spares!
The modem I have online now is working fast but after a few hours it just stops. It may be because I am powering it from 12VDC instead of 15VDC, which it needs. Gotta find one somewhere around here.
NETGEAR!!! What's wrong with your gear???
|
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 10 2011 : 05:15:30 AM
|
Website online. Verified through a 3G internet connection.
Try this one: http://jrcamenzuli.no-ip.org/AaronCake/test.html Large images, so wait. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
codingplanet
Mad Scientist
United Kingdom
195 Posts |
Posted - May 10 2011 : 11:58:56 AM
|
I used Ubuntu Server for the server I used to run. It can be a bitch to set up as it's CLI only but you can make it do whatever you want. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 11 2011 : 01:31:07 AM
|
Ah yes. I was wondering how you did it. I want to try some Linux distro but I am so used to Windows. I'll probably create a VM with linux on a Windows host and set it up for a different domain, whenever I find the time.
The server is down right now. Changing to x86 OS. I was having problems with 64-bit drivers. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
|
Aaron Cake
Administrator
Canada
6718 Posts |
Posted - May 14 2011 : 11:03:56 AM
|
The capacitors in you NetGear whatever-that-is seem a little bloated. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 14 2011 : 11:27:49 AM
|
quote: Originally posted by Aaron Cake
The capacitors in you NetGear whatever-that-is seem a little bloated.
Yeah, I talked about it in my fourth post. I don't have the time right now to investigate exactly why it stuffed up. It is probably just bad capacitors. I have a feeling that the same thing happened to the NETGEAR modem which also shows similar symptoms.
It's good to see that you're able to get to my server. Did it load those pictures reasonably quick? There's over 33MB of pictures there. I havn't checked whether IIS compresses them before sending them out. Since the server is running on a laptop, it doesn't use much power - so I can leave it running all the time without it affecting the electricity bill too much. Besides serving content to you guys, it also serves me. I will enhance what it can do no doubt, I just need time. It's all very interesting. I program mostly in Java and I want to eventually use it on webpages. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
jnewman
Apprentice
United Kingdom
126 Posts |
Posted - May 14 2011 : 1:29:14 PM
|
This was my set up when I used to host all my site and e-mail from home, over standard ADSL2+ home broadband and a dynamic IP, although I would not recommend the OS, it did work very well:
I had a laptop just like you do running Windows NT4 Terminal Services Edition (although not the best choice, updates were somewhat much harder to find as it was a completely modified kernel stack being multi-user (pretty much derived from Citrix WinFrame) and all that, windows update did not support it). I used Abyss Web Server, which although was not free, it ran extremely well on with PHP/FastCGI on NT4 on such old hardware (64MB RAM, 366MHz).
If you are running e-mail services, simply point an MX record on a purchased domain to your Dynamic DNS. Then you'll need to configure your SMTP connector on your mail server to use smart-hosting via your ISP's SMTP server, as most SPAM filtering will block email coming straight from residential dynamic IP addresses.
OS wise, I would say Linux is probably the way to go, I'm saying this even though I'm not a Linux fan, and have had grief with it before, infact I use Windows Server 2008 R2 on my website (I honestly don't know why tbh, I don't use ASP/ASP.NET). You can run a Linux distro that provides just a CLI, and only the required userland utilities to cut right down on overhead, Ubuntu server, as mentioned above, seems to be a good choice, as it's apparently easy to get Apache, MySQL, PHP running well. I would say definitely try and get a 64-bit build working, seeing as there are native builds of MySQL for x64. However, it's not essential seeing that there aren't native x64 builds of Apache and PHP.
Regarding connecting MySQL to your site, you will need to write in a server side language, such as PHP (highly recommended). You can do something as simple as create a table for pages, with fields such as page_title, page_text, edited_timestamp...etc..etc, and pull it out using PHP when a page is requested using an SQL query. You would need to build a small management system to allow adding and editing pages in the database. However, there's so much on the internet on this.
Oh, and if you want to write Java servlets, JSPs, etc instead of PHP (or other CGI compatible runtimes), use Apache Tomcat instead of Apache HTTP Server. |
>>> http://www.josephn.net <<< >>> http://forum.josephn.net <<< |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 14 2011 : 1:53:34 PM
|
Thankyou very much for your reply jnewman. Yours will be a reply I will come back to read again and again. All this is relevant to my studies but I am not yet studying web servers, so I thought it would be a good idea to get a head start, so I am prepared.
I have just installed Ubuntu Server 64 on a VM and when I have time I will give it a try. Command lines make me frown.
For now I have just setup a public anonymous ftp server (on IIS7) which anyone can read and write to. Took me a while to figure out. So give it a try and put whatever you want in there.
ftp://jrcamenzuli.no-ip.org/ |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 15 2011 : 04:29:24 AM
|
Okay so I have opened up the NETGEAR modem which was showing similar symptoms to the NETGEAR router; and guess what! I was right. It had a similar problem with its power supply section on the PCB where the ripple filtering capacitors were on the brink of venting. So it looks like NETGEAR were using cheap-ass capacitors. These things are made in china of course.
For your viewing pleasure I have added three new pictures of the fucked modem on this page, at the bottom:
http://jrcamenzuli.no-ip.org/AaronCake/test.html
So hopefully these dodgy capacitors are the only damaged components in both NETGEAR devices. I'll perform further tests before I commit to that theory, so I order the right stuff. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 16 2011 : 05:41:06 AM
|
So with this swaped-in DLink router I still have problems - it crashes. Turns out the poor thing doesn't like humidity. I had some clothes drying over a heating duct in the room where the Modem and Router are. Once the drying had stoped and the humidity went down, the Router stopped crashing. Well, these types of equipment are, in a professional setup, stored in a well air conditioned, low humidity environment. I doubt the heat was the cause because the room temperature was around 22C, and that's well within range of all consumer computer products operating specifications. Still, very interesting. |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
Edited by - wasssup1990 on May 16 2011 05:41:41 AM |
|
|
wasssup1990
Nobel Prize Winner
A Land Down Under
2261 Posts |
Posted - May 24 2011 : 03:42:24 AM
|
Adrian (codingplanet), did you consider using Debian Linux for your server? If so, why did you choose to use Ubuntu Linux Server instead? |
When one person suffers from a delusion it is called insanity. When many people suffer from a delusion it is called religion. |
|
|
codingplanet
Mad Scientist
United Kingdom
195 Posts |
Posted - May 24 2011 : 5:49:09 PM
|
I had already used Ubuntu desktop in the past, so I just gave the server version a go and stuck with it. Never felt the need to try anything else. |
|
|
Topic |
|