Tag Info

Hot answers tagged

13

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 ...


12

If you do not have specific experience running this kind of websites, then I would strongly suggest you to get a separate server. While having an adult site on same server with different websites might not affect your non-adult sites directly, there are plenty of things that can go wrong (e.g. IP flagged/blacklisted for "spam"-like emails, content IP-blocked ...


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

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 ...


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

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

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, ...


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 ...


6

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

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 know I'm bringing a question back from the dead, but what the poster is looking for is called "load testing" and it is hard to do this yourself. There are sites that can handle this for you, some with tests that can be run for free. One such site is http://loadimpact.com/, it simulates users on your site and slowly increases the number of simulated users ...


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 ...


5

Do you mean with regards to search? From Google's point of view: no, that's fine. There are a limited number of IP addresses, so you need to share. The only exception I can think of is if you have a ton of really spammy sites on a server, and just a tiny number of good ones, but that doesn't sound like your situation. In cases like that, we / our ...


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

When did you decide to use a CDN? Early on into development. The website is for a Photographer and one of the most challenging elements was making sure the load times were practically invisible. Whilst not as much of a problem as video, the simultaneous HTTP request limit was going to cause problems. The website is being developed used Google App Engine, ...


4

Do you need "true dedicated" or can you get by with a virtual-dedicated? If a VPS will work I highly recommend linode.com, slicehost or vps.net. If you need true dedicated i would recommend theplanet.com, hostgator.com or servint.net


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

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

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 ...



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