Go Premium for a chance to win a PS4. Enter to Win


How to Set Up a Dedicated Server

Posted on 2014-02-08
Medium Priority
Last Modified: 2014-02-24
I've always used a shared hosting service, with the exception of a dedicated server that came with a set up dynamic that you could purchase, hence I have no clue as to what I need to do other than the following:

I'm on 1and1. I was told to login to my server using a Windows Remote Desktop interface, which I was able to do. After that, however, I'm lost.

From what I understand, I don't even have on this server what's needed in order to load files using an ftp interface, so here's my shopping list of what I need:

Whatever needs to be in place in order to be able to upload files using FileZilla.

There it is. How do I proceed.

Question by:brucegust
LVL 20

Expert Comment

ID: 39844356
If you are connecting to the box using WIndows RDP then it is very likely it is running Windows.

Windows server comes with IIS - you may need to go to control panel and software and enable it - and depending on the setup - it may even ask for the windows disks (which your host shuld have in a shared location if needed).
IIS will run Web sites and FTP sites.

The MySQL is a quick download and install.

Now the PHP side... this is different.
You can do it..... but why would you.  Its like have a jet engine on your bicycle - it just doesn't make sense.
PHP is the language that runs behind the web pages and makes them work or makes them dynamic.
Windows uses ASP.
Linux uses PHP.

It is possible to run the wrong one on the wrong host.... but it will lead to all sorts of pain. Anything you install under it, will fail or will need converting to work with the file paths of the other hosts system.  It is just a bad idea.
If you have PHP programs to run - then reinstall your server with Linux.
The final step is PHPmyadmin - this will fit onto either system agaian with a quick download.

FileZilla uses FTP to transfer files so will be handled easily by either OS (Windows or Linux)
LVL 35

Accepted Solution

gr8gonzo earned 1400 total points
ID: 39844417
A few disagreements with edster9999:

You don't need to reinstall a different operating system to use PHP or Apache or anything. Windows will run PHP, Apache, and MySQL fine, as well as many other "traditionally" Linux components like Perl, Python, and so on (if you want those).

Yes, IIS is a Windows/Microsoft product, so it typically comes already installed on Windows Server operating systems. It is not always ENABLED by default, so if you don't want to use IIS, then you're usually fine. At most, you might have to go to the Services area of the control panel and disable IIS (or if you want to be thorough, you can just remove it like any other Windows component). There are guides on removing IIS if you want to do that. Just google around.

IIS is also intended to run ASP (nowadays, ASP.NET), but it's not required. IIS can run PHP just fine and you can disable ASP support if you want to do so.

That said, there are really no languages anymore that are specific to one operating system. You can run PHP and ASP on Linux or Windows. You can run the Apache web server on Windows or Linux. You can run MySQL on Windows or Linux. As far as I know, the -only- thing that is specific to ONLY Windows is still the IIS web server, but again, Apache is a working alternative.

You can set up each component individually, but if you're new to this type of thing, I would suggest just installing something like XAMPP or WAMPServer. Those are simply installer tools that will set you up with PHP, Apache, MySQL, and usually other optional components (often including FTP servers or mail servers, depending on what you want). But they should make the process fairly painless and they often come with nice user interfaces so you can configure the components easily.

Try googling for "xampp wampserver easyphp" and you should find various articles that talk about the different installers. While they are all 90% the same, you might find one that suits your purposes better.

I personally prefer XAMPP, except for the fact that if you want to run SSL-enabled PHP pages that use any PHP's OpenSSL functions, there's a slight bug that requires you to update the Apache server that comes with XAMPP.

After you get the various components installed, I would suggest this:

1. If you still need an FTP server, use FileZilla's server. It's free and it works pretty well.

2. If you REALLY need PHPMyAdmin (I prefer HeidiSQL nowadays - I think it's far better than phpMyAdmin now and it's a free Windows tool), then make sure you don't install it as /phpmyadmin in your web site. Lots of malicious bots will try to hit that URL and many similar versions (/pma, /myadmin, /my, etc...), so name it something obscure for further protection (/brucegust) and make sure you protect the directory with passwords or IP protection, if you are comfortable doing that.

3. Find articles on hardening your Windows server's security. If you're going to run a dedicated server, you're GOING to be hammered with automated attacks, and if you haven't properly secured your server, you WILL be compromised and you'll end up running a pirated movie distribution server without realizing it. Trust me, anyone who's run a server has been there, and it's not fun. Things like FTP are insecure, and the more you can do to protect yourself and set up firewalls, the better. You're going to have to use strong passwords, IP restrictions where possible, security certificates, etc... (for example, if you can set up client certificate authentication for Remote Desktop, so much the better - RDP is a very frequent target for attacks).

Assisted Solution

by:Milind Koyande
Milind Koyande earned 600 total points
ID: 39875902
Great explanation by gr8gonzo.

I would like to add few things which will help you to configure server.

As you always used Shared hosting, how you use to manage your website like adding email account, creating FTP. Do you use any control panel like cPanel or Plesk.

If you are using any Control panel, then i would recommend you to contact the host and get the same control panel installed on your dedicated server. Installation of control panel will automatically install and configure webserver, FTP server, PHP, MySQL, phpmyadmin.

Note: If you have used cPanel (or Plesk with Linux) then you will have to get the server re-installed with Linux and cPanel or Plesk).

Installing control panel will make your work easy and also as you know how to manage stuff from control panel (if you have control panel with share hosting) it will become a lot easier for you to manage.

If you face any problem you can contact the hosting company or ask question here.

Author Comment

ID: 39883614
Guys, thanks so much!

Definitely a question I'll keep in my cue for future reference.

The client determined to keep their storage on a dedicated server and just referenced it using an IP address and moved the web dynamic to a shared hosting situation, so all that to say, we got it taken care of.

The last time I used a dedicated server, the hosting service offered a package where they set everything up for you, so this was my first solo flight and, while I didn't have to do it this time around, I'm sure there will be another chance and I'll keep this thread in plain view.

Thanks again!

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question