Questions tagged [shared-hosting]

Hosting setup whereby a server is shared among many different customers. When compared to VPS or a dedicated server, this generally means that each customer has less resources available and more restrictions are in effect as to what a customer can do on the server (install software or not, ...).

Filter by
Sorted by
Tagged with
26 votes
1 answer
73k views

Tuning Apache2 prefork MaxClients ServerLimit

I have a machine with 128 GB Ram that is using Apache2 as Webserver (in this machine there is no Database Server, the Database Machine is a 64 GB Ram machine that can handle 2000 max connections). I ...
User-N's user avatar
  • 265
24 votes
8 answers
11k views

Restrict a Linux user to the files he owns

Imagine a server setup of a shared webhosting company where multiple (~100) customers have shell access to a single server. A lot of web "software" recommends to chmod files 0777. I'm nervous about ...
Phillipp's user avatar
  • 502
13 votes
3 answers
19k views

Isolating Apache virtualhosts from the rest of the system

I am setting up a web server that will host a number of different web sites as Apache VirtualHosts, each of these will have the possibility to run scripts (primarily PHP, possiblu others). My ...
JesperB's user avatar
  • 233
9 votes
8 answers
2k views

Multi-site hosting - important vulnerability being missed to secure sites from each other?

EDIT #2 July 23, 2015: Looking for a new answer that identifies an important security item missed in the below setup or can give reason to believe everything's covered. EDIT #3 July 29, 2015: I'm ...
sa289's user avatar
  • 1,338
7 votes
3 answers
3k views

What are some ways to prevent user cron jobs from crushing the servers?

It happens fairly frequently that user cron jobs on shared servers all run at the same time and get caught in contention (near as I've been able to tell). So load explodes, Nagios is angry, Apache ...
Wyatt's user avatar
  • 79
7 votes
3 answers
9k views

Where can I find a list of IP addresses of hosting providers?

I am attempting to fend off a spam attack against a web api I run and would like to obtain a list of IP addresses of public web hosting providers from which spammers are launching their attacks. I'm ...
esilver's user avatar
  • 335
6 votes
1 answer
2k views

Acessing a mercurial repository on a shared host over SSH

I have a shared hosting account with SSH access. I have set up a virtual Python installation and have copies of the system folders in $HOME: ~/bin, ~/lib ... I have installed mercurial through ...
Leonard Ehrenfried's user avatar
5 votes
5 answers
5k views

hosting IP change, how much downtime to expect?

i'm moving my hosted site (same host) to a static IP, I understand there will be some downtime due to DNS caching - does anybody have any tips how to minimize this time and to avoid my users seeing "...
Sherif Buzz's user avatar
5 votes
4 answers
2k views

Dynamic DNS for Shared Hosting - Does it exist?

It seems that certain home router firmware is designed to work with Dynamic DNS services (e.g. noip & dyndns) to serve a subdomain from a server behind a consumer ISP. On a similar note, are there ...
joelhaus's user avatar
  • 153
5 votes
2 answers
746 views

Why did this website DNS change fail in some parts of the US

Background We switched shared hosts from a local mom and pop to crystaltech. The site was all copied over and ready for the DNS change. The mom and pop site offered no tools to manage DNS ourselves,...
MrChrister's user avatar
4 votes
2 answers
928 views

Alternatives to avoid domain from being blacklisted

We outsource our web and email hosting to a web hosting company and occasionally I get complaints from our clients or internal staff that mail from our domain does not reach the intended recipient or ...
NAT3863's user avatar
  • 153
4 votes
3 answers
6k views

Enabling phar on Dreamhost shared hosting?

So, i'm trying to use Silex on my dreamhost account and I'm getting an error Fatal error: Class 'Phar' not found in blah blah blah... when I try to include the Silex.phar file. When I look at ...
Paul Wicks's user avatar
4 votes
5 answers
619 views

ASP.NET Future on linux?

I was wondering. What do you guys think about ASP.NET future on linux? I dont know much about IIS and i know some things about linux. I dont want to program anything in php and while searching for ...
user avatar
4 votes
4 answers
1k views

Is a wildcard SSL required for a single subdomain?

A typical SSL cert is based on a common name for the domain (domain.com) sometimes (www.domain.com) as well. I understand what a wildcard cert is used for (*.domain.com) and it would/should validate ...
PenguinCoder's user avatar
4 votes
1 answer
119 views

Security in shared hosting vs VPS 'virtual appliances'

I have to change my hosting provider. Right now I have a shared hosting account but I'm considering trying the LAMP stack appliance from turnkeylinux.org. I'm very comfortable with using linux, I've ...
Pedro Loureiro's user avatar
4 votes
2 answers
2k views

mod_fcgid: can't apply process slot after software upgrade

I'm on a shared hosting plan with a Wiki and a Bulletin Board installation. After upgrading the Wiki to the latest release my users are not able to upload files with the integrated "media manager" ...
duenni's user avatar
  • 2,959
4 votes
2 answers
2k views

How can I override global PHP.INI settings on shared hosting?

I have sharring hosting account on Linux Apache PHP with JustHost. In my account exists a global php.ini that only admin of hosting company can access. My problem is that when I run php script the ...
Ben's user avatar
  • 775
4 votes
2 answers
233 views

Multiple domain SSL certs

We have a product (hosted PHP app) which we will be providing SSL certs to for people along with some hosting. We are in full control of the hosting environment setting up the users vhost config, ...
Wizzard's user avatar
  • 342
4 votes
2 answers
265 views

When do I need more than shared hosting?

What are the guidelines? While the answer could be "when your webpage or queries return slowly -- that answer doesn't quite work for me. What are your reasonable expectations for shared hosting? How ...
cgp's user avatar
  • 1,042
4 votes
3 answers
184 views

PHP parse error appearing on shared hosting environments

Has anyone else seen this crop up a lot recently? I've had several sites go down with this error. Parse error: syntax error, unexpected '<' in /home/public_html/index.PHP on line 39 It's caused ...
MrFidge's user avatar
  • 321
4 votes
0 answers
583 views

Shared hosting: Apache RewriteRule [P] flag security concern

I want to setup PHP-FPM with Apache in a shared hosting environment. The recommended way is to use mod_proxy_fcgi. Each customer has his own FPM pool, running PHP processes under his own system user. ...
Sebastian's user avatar
3 votes
7 answers
1k views

Why do hosts prefer Linux to Windows Server?

So far I see a HUGE majority of hosts provide only Linux shared hosting, providing Windows only to VPS (or even to only dedicated servers). Why is it so? While Windows is a lot more expensive than ...
Mircea Chirea's user avatar
3 votes
5 answers
9k views

Setting up an SPF record for a shared hosting service with lots of email gateways

My website is on a Hostgator shared host, and I need to set up SPF for my email so my outgoing emails won't get bounced. So, I have to add a TXT record to the DNS for my domain, listing all possible ...
Daniel Griscom's user avatar
3 votes
4 answers
272 views

Is there any "best practice" for a shared servers?

I'm currently in charge of 2 really big servers (128GB Ram & 32 8-code Xeon CPU each) at my university running Ubuntu 12.04. Students are suppose to use them for big data analysis. We want every ...
Ansd's user avatar
  • 179
3 votes
3 answers
10k views

DNS PTR record when domain on shared IP address

I own a typical shared IP hosting plan and domain. I can modify the DNS of the domain from the control panel. The mailserver shares the same IP address, so my typical DNS config is: www.mydomain.com ...
Marco Demaio's user avatar
3 votes
3 answers
244 views

Need a helpful/managed VPS to help transition from shared hosting

I am looking for a VPS that can help me transition out of a shared hosting environment. My main OS is Ubuntu, although I am still new to the linux world. I spend most of my day programming PHP ...
Xeoncross's user avatar
  • 4,539
3 votes
3 answers
610 views

Shared webhost IP blacklisted and is stopping my legitimate emails sending

I am a customer with a webhost and my account is on a shared server. The problem is, it looks like one of the other customers on the same server has gone and got the shared IP blacklisted as spam/...
ServerBloke's user avatar
3 votes
2 answers
2k views

What's the difference between www & public_html folder?

What's the difference between the www & public_html folder on the same server on my shared linux hosting. I've seen data is same on both of these folders. Is one of them just a redirect or is the ...
DMin's user avatar
  • 398
3 votes
3 answers
802 views

How to change web host for my small site with minimal downtime

Company S is a small mom and pop host that can't keep our site running for more than a couple weeks at a time. They have suggested we find a better home. So we are moving our site to CrystalTech for ...
MrChrister's user avatar
3 votes
2 answers
10k views

What does apc.mmap_file_mask really do?

I want to use APC in a shared environment, but the main problem is of course, opcode sharing. To overcome this, I've thought about using different apc.mmap_file_mask for each user (they're chrooted ...
Alessio Periloso's user avatar
3 votes
3 answers
522 views

Security of shared hosting

What are some of the security risks involved with using shared hosting services such as godaddy inmotion and fatcow?
Tegra Detra's user avatar
3 votes
2 answers
159 views

Is hosting my websites and databases with different providers a bad idea?

I'm trying to find a home for three ASP.NET 3.5 websites using three respective SQL Server 2008 databases. I've found one possible solution where I host the websites on a "semi-dedicated" environment ...
Randy Burgess's user avatar
3 votes
2 answers
854 views

How did shared hosting providers ensure user isolation before containerization went popular?

Around 2000-2010, shared hosting was extremely popular as a cheap solution (sometimes a few $ / month, or sometimes even free for just a few MB) for people starting blogs, small websites, e.g. using ...
Basj's user avatar
  • 739
3 votes
1 answer
583 views

How does IP blacklisting work on virtualized/shared hosting?

I have read that many blocks of IP addresses associated with Amazon EC2 have been blacklisted by various ISPs. Therefore, even if you never sent spam yourself, emails you send from an Amazon instance ...
Bob Perkins's user avatar
3 votes
2 answers
1k views

Once mail hosting through Gmail is setup, is it easy to change web hosts?

I have a personal domain name, pointing to a simple cPanel-type shared hosting account. About six months ago, I decided that I wanted to use Google Gmail for hosting my domain name's email. In my ...
Steve Perkins's user avatar
3 votes
1 answer
900 views

How to disallow use of disable_functions in?

I'm obviously not the first one to have this problem, but I cannot not find an answer to this situation. I want to lock down PHP a bit, more specifically the use of disable_functions. The environment ...
Gaia's user avatar
  • 1,895
3 votes
2 answers
1k views

Moving from shared cpanel hosting to non cpanel VPS - What should I know?

I'm currently looking into migrating a few sites from my shared cpanel hosting to a VPS. Got to the point where I want to do more and have been learning about some system admin stuff through my ...
Relequestual's user avatar
3 votes
1 answer
526 views

Compare Shared SQL Server vs VPS SQL Server

I'm looking at two different options to host the databases of my websites. 1) I can use the Shared SQL Server 2008 offerings of my host company (plenty of space) instead of installing database ...
Randy Burgess's user avatar
3 votes
1 answer
390 views

PostgreSQL or MySQL for shared hosting

I want to offer SQL shared hosting for customers. Ideally I'd like: access isolation (one user shouldn't see information about other user's databases) SQL disk space quota per SQL user ability to ...
user55488's user avatar
3 votes
2 answers
544 views

Host Primary Domain from a subfolder [closed]

I am having a problem making a sub directory act as the public_html for my main domain, and getting a solution that works with that domains sub directories too. My hosting allows me to host multiple ...
Adam Harte's user avatar
3 votes
1 answer
398 views

Installing CNProg on shared hosting (1and1)?

I have shared hosting on 1and1. I have shell access but don't have root access. Is it possible. To install CNProg, (Which is a SO Clone in Python) on that kind of hosting? If not, can I use Ubuntu ...
user avatar
2 votes
5 answers
5k views

Why does APC (or similar) cause performance problem for shared hosting?

I'm using shared hosting, and I can't enable APC. There was a thread about that here, and the only reason suggested was for security (php-cgi vs mod_php). I queried the host, and they said it was due ...
Andy's user avatar
  • 274
2 votes
2 answers
185 views

Run sensitive command (including passwords) on Linux without exposing data

I have an account on a shared web host which allows me to work on the server via SSH. As I have some problems installing Magento using the web installer I switched to the commandline installation. The ...
maff's user avatar
  • 311
2 votes
5 answers
3k views

Finding out who hacked my site [duplicate]

Possible Duplicate: My server's been hacked EMERGENCY All Joomla! sites hosted on a single server of mine were hacked and had the following code injected into the index.php files throughout ...
Andy Smith's user avatar
2 votes
3 answers
489 views

On a shared server, how do you run a script / process at startup?

I guess I could have a cron job run every minute, or 5 minutes, and have it somehow check if the process was already running (not sure how to do that). Would that be the best way or is there another ...
cwd's user avatar
  • 2,783
2 votes
2 answers
791 views

What's the most effecient hosting solution for running multiple Pyramid (Python) websites?

In the past, I've written websites in two languages. PHP for smaller sites and Python for larger sites. With this setup, I would run multiple Paster instances to serve each site on a different port ...
dave's user avatar
  • 21
2 votes
2 answers
467 views

Multi-site hosting security - ensure no scripts can run as Apache user, but only as each website's user

In setting up a hosting environment with multiple sites that should be isolated from each other, I did the obvious step of having PHP be configured so it runs as the user that's associated with each ...
sa289's user avatar
  • 1,338
2 votes
2 answers
73 views

How to prevent use of `w` and `who` on shared webhosts

We are in the process of setting up a hosting machine that clients will have SSH access to. We don't want them to be able to see a list of user accounts, but the problem we have run into are commands ...
Tom Marthenal's user avatar
2 votes
2 answers
2k views

How to secure Apache for shared hosting environment? (chrooting, avoid symlinking...)

I'm having problems dealing with Apache configuration: the problem is that I want to limit each user to his own docroot (so, a chroot() would be what I'm looking for), but: Mod_chroot works only ...
Alessio Periloso's user avatar
2 votes
2 answers
81 views

Will shared hosting work for my case?

I need to host a JSF application backed by a NoSQL database (Cassandra, which operates on a cluster of nodes). I'm going to purchase a set of VPS to maintain the database server cluster. But to host ...
Rajat Gupta's user avatar

1
2 3 4 5 6