Tag Info

Hot answers tagged

12

danlefree's answer to this similar question is quite relevant here: http://webmasters.stackexchange.com/questions/2458/how-difficult-is-an-unmanaged-vps/2464#2464 Securing a server is more than just a one-off task. Initial one-off tasks include: Hardening SSHd (there are a number of tips and tutorials out there for this, this was the first good looking ...


10

One reason is that it's easier to gain user access to a linux server than it is to gain root or the specific user that's allowed to access the script. If you set the permissions so anyone can access/modify/delete all important scripts, then you're removing a layer of security that user based permissions provide. If someone fumbles across a user account then ...


8

what advantages does cloud hosting have over dedicated server hosting? There is no answer to that in the abstract; or the general answer to that is at least too long to type up here. You need to start with a picture of which architecture you desire and which load you forecast, and then evaluate the hosting architecture on that basis. Just for a ...


8

I would strongly recommend against EC2 for your first foray into dedicated hosts. EC2 has very specific applications, and there's a much steeper learning curve involved. At this point, there are coarsely three directions to go, and pros and cons for each: Managed dedicated hosting: I've never shopped for managed hosting firsthand, although I've interacted ...


7

You can use virtual hosts in apache to have 2 versions of the code at 2 different urls. A commonly used example is: test.example.com -> /var/www/version1.2 www.example.com -> /var/www/version1.1 both of which are on the same server, but perhaps only one is accessible to the world. Once you are satisfied that test.example.com is working, you can ...


7

We decided to use Amazon S3 when we built a web app which delivers Gigabytes of HD photos and videos to our subscribers. It was an absolute no-brainer for us. The cost savings were outrageous. We have had two service outages with S3 (along with every other web startup who uses S3). They weren't disastrous. Then we added CloudFront on top of it it just ...


7

First, you'll have to figure out exactly where your site is slow: is it in database processing? Is it in the front-end servers? Is it in the wordpress processes? Bandwidth? Maybe your host can help you figure out where your bottleneck is. (They probably want to sell exactly the right amount of CPU/Memory/Database/Bandwidth, to give you the most bang for your ...


7

Put on a security camera next to your server if you want to see who's accessing you physical server. Just to know that someone is sending packets to your server, you can set up IP Tables: sudo iptables -I INPUT -j LOG sudo iptables -I FORWARD -j LOG This is probably not what you meant, but it logs ALL incoming packets to /var/log/kern.log, whether those ...


7

This can be done any number of ways. The odds are they have their own dedicated server or a reseller account. Reseller accounts are very inexpensive and can host a decent number of sites. If you can get a couple of paying hosting customers they'll cover the costs of the account for you. Then you can offer free hosting to new customers. After a year they ...


6

Are you on a Linux/BSD machine? If so, you can easily use symbolic links to accomplish this goal. Create Version 1 of the site here: /var/www/www.example.org.v1 Create a symbolic link pointing to this directory cd /var/www ln -s www.example.com.v1 www.example.com This should give you a directory listing (ls -la) that looks something like this: ...


6

Yes. One of the web servers used to have a large spike in load every few hours. After looking into the logs, I found out when the load spike happened, there where a lot of people looking at the gallery. So I off-loaded 99% of the static content from apache to nginx. apache was left to serve all of the php. The load on my web servers dropped to a nice low ...


5

I decided to employ the use of a CDN to increase the download speed of files for users across the globe. Generally speaking, delivering really small files can be done easily via nginx from a separate subdomain, as 30 milliseconds extra to grab a css won't exactly kill your web application. When it comes to delivering larger files, a CDN can really shine, ...


5

There are an awful lot of possible optimizations, but installing WP Super Cache will almost certainly solve your immediate problem. I host my blog on a 1gb Linode and have handled tens of thousands of requests some hours, without the VPS even breaking 10% CPU usage. That's possible solely due to the static caching that WP Super Cache provides.


5

I can verify that you do indeed have performance issues. Your server may very well be partly to blame, but you also have some significant on-page issues that you could also look to mitigate your slow-site problem: http://gtmetrix.com/reports/www.pravninasvet.com/Ilad9BMy (45 seconds to load) Additionally, you could reduce the size (KB) of your website: ...


5

Open your host file /etc/hosts with a text editor and make sure it contains: 127.0.0.1 localhost If it still doesn't work, run this command: file -b /etc/hosts and make sure the result is ASCII English text and nothing else. If it is not, use an editor such as TextWrangler or BBEdit to clean it up (use Unix end-of-line characters). Source: Apple ...


4

The great thing about a linux VPS is they are pretty secure out of the box. My first recommendation though it to talk to your host and see if they will harden or optimize the security for you. Most VPS with a control panel (webmin, cpanel, etc) are "managed" and they will do a lot for you. Especially if you aren't quite sure what you are doing this is the ...


4

You need estimates of how much space this LOT of uploads will take, and how quickly it will grow, and whether you are willing to do it yourself or pay more to have it made. Doing it yourself will get you in the region of: A case with lots of disk bays Server innards Cheap server class SAS disks Maybe £1,200-£2,000 for 4-6Tbs of RAID5 storage with all ...


4

You might want to start by looking at Amazon S3 as an option for your data storage rather than storing it on your own servers. There are many hosting companies that say they offer "unlimited storage", but if you start filling up a server with terabytes of data, I can pretty much guarantee they are going to shut you down.


4

A whois record should display your registration info unless you chose to use private registration. And a whois search on an IP will show who the ip block is registered to, and is almost always your ISP. If you want to have your own company info show up in an IP lookup, then you need to obtain a provider-independent address space. This can be done through a ...


4

Try an hosting like 1and1. It's cheap, and supports the load well. They also have some easy to use VPS


4

Supplementing Steven's great post: "Managed" vs "Unmanaged" is one big distinction you'll find in hosting. You'll find hosting packages that look equivalent, but some will be much cheaper than the others. The cheaper packages are generally unmanaged. There's no support staff to help you upgrade PHP, tell you why your script stopped working, or tell you why ...


4

You can but... Legal Issues: Personal data shall not be transferred to a country or territory outside the European Economic Area unless that country or territory ensures an adequate level of protection for the rights and freedoms of data subjects in relation to the processing of personal data. That is known as "Data Protection Principle" ...


4

Personally, I think that neither is easier. If you're going to be running a server just for you to test on while you develop the site, I would suggest EasyPHP (the latest version isn't working so well for me, I suggest using 5.3.2i (you can also see other older versions)). The reason is because EasyPHP is, like the name implies, easy to use and setup. It ...


4

Sounds like you're paranoid that hackers will hack your server. As long as you aren't specifically targeted for a hack (extremely unlikely), then you can keep from being hacked by: Using strong passwords (and better yet, upgrade to public key crypto for your ssh server as well). Being aware of all the services that people can access. Disable unneeded ones ...


4

Don't spend £250/year. Spend as little as possible, then scale as you grow. Two options to consider: 1. Use a source code hosting service such as github Github is a popular hosting service for the git version control system. In addition to code hosting and online code browsing, the long list of features it offers includes team management, wikis, forums, ...


4

Visiting at the same time is a "relative" concept. The server feeds the user a page and then the user will see it for an undetermined amount of time. If the user requests a second page you can assume that the user has been on the first page for that duration (even though it's only an assumption). You could write all that down to a database and extract ...


4

Your error log shows that the Zend framework can't find the PDO MySQL driver it needs to connect to the MySQL server. This could be for a couple of reasons: It's possible your server is running an old version of PHP. (The PDO class is only included in PHP 5.1 or later.) Check what version you're running by creating a file called 'info.php' containing the ...


4

In case you're curious, here's the source (or a copy of it) to the attacker's method: http://pastebin.com/yCW9vWzZ This may help also: http://www.wjunction.com/10-hosting-discussion/116021-boxslots-hacked-again-5.htm As for being worried? If you are sure you follow the orthodox server security protocols, and you actively check for and fix any holes, then ...


4

The first thing to keep in mind is that compression checkers sometimes lie for various reasons, so take their warnings with a grian of salt. As a few people have recently said on Stack Overflow ySlow is not gospel (but I do like it myself). What I would suggest doing, rather than employing zlib.output_compression in php, is to enable mod_deflate in Apache. ...



Only top voted, non community-wiki answers of a minimum length are eligible