Questions tagged [shared-hosting]

Websites that are hosted on servers where many other peoples sites are hosted can have specific problems due to security concerns, lack of control of installed libraries, no root access etc.

There are many Shared Hosting providers that allow hundreds of sites to be run on a single server. To ensure everythings works as well as possible for everyone certain features of scripting languages are switched off and can cause problems for developers.

1607 questions
8
votes
8 answers

Send email using Nodemailer with GoDaddy hosted email

I am trying to send an email using nodemailer and a custom email address configured through GoDaddy. Here is a screen shot of the "custom configurations" page in c-panel: and my code: const nodemailer = require('nodemailer'); var transporter =…
Dustin Spengler
  • 5,478
  • 4
  • 28
  • 36
8
votes
2 answers

Hosting ASP.NET MVC 3 Razor Engine Site

I am working on a ASP.NET MVC 3 beta Razor engine website. Its a small project. I would like to know if its possible to deploy Razor engine site to normal hosting provider. I assume I would need to copy relevant dll's to my site bin folder. Will…
Naveen
  • 1,067
  • 2
  • 14
  • 36
8
votes
3 answers

robots.txt allow all except few sub-directories

I want my site to be indexed in search engines except few sub-directories. Following are my robots.txt settings: robots.txt in the root directory User-agent: * Allow: / Separate robots.txt in the sub-directory (to be excluded) User-agent:…
Kunwarbir S.
  • 281
  • 1
  • 3
  • 13
8
votes
6 answers

What are the most common, typical things to AVOID coding into my ASP.NET app in order for it to run under Medium Trust on a shared host?

What are the things that Medium Trust stops you from doing? For example, I've already learned that Medium Trust stops you from using System.IO.Path.GetTempPath(). What other things like that?
Corey Trager
  • 22,649
  • 18
  • 83
  • 121
8
votes
3 answers

Symbolic link created using PHP script doesn't show up, but it's there?

My Symfony 2 installation is on a shared hosting site. Directory structure: public |-- api // subdomain api.mydomain.com |-- app |-- bin |-- m // subdomain m.mydomain.com |-- src |-- vendor |-- www // symfony "web"…
gremo
  • 47,186
  • 75
  • 257
  • 421
8
votes
4 answers

What do you recommend for setting up a shared server with php

What do you recommend for setting up a shared server with php from a security/performance point of view? Apache mod_php (how do you secure that? other than safe_mode as it won't be in PHP6) Apache CGI + suexec Lighttpd and spawn a FastCGI per…
daniels
  • 18,416
  • 31
  • 103
  • 173
8
votes
2 answers

ASP.NET MVC membership - user being logged out frequently - don't know why

I have an ASP.NET MVC 4 web application. Running locally, it works fine, but on the web host (which uses shared hosting), the logged on user is frequently logged out by being redirected back to the home page. In most cases, the user is logged out…
7
votes
2 answers

MySQL MAX_JOIN_SIZE errors

I am asking this question on behalf of a small group of my users that have this problem. Once the script they are using gets to the 21st ID, it generates the following error: The SELECT would examine more than MAX_JOIN_SIZE rows; check your…
privateace
  • 1,367
  • 6
  • 16
  • 24
7
votes
3 answers

What application trust level is need for ASP.NET MVC framework?

i am trying to deploy simple asp.net mvc frameworkd application in may shared hosting and i get erro like this: Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this…
niekutis
  • 83
  • 1
  • 6
7
votes
2 answers

Simulating Shared Hosting Trust Levels

I want to simulate the trust levels of a shared hosting environment on my development machine so that there are no nasty surprises when I come to deploy my solution. I added this my setting the web.config: The…
Dan
  • 29,100
  • 43
  • 148
  • 207
7
votes
3 answers

Cloudlinux NodeJS demands to store node modules for application in separate folder (virtual environment) pointed by symlink called "node_modules"

I was looking to deploy my Nodejs/TypeScript web application to my cpanel shared hosting. But, I am getting an error: * Cloudlinux NodeJS Selector demands to store node modules for application in a separate folder (virtual environment) pointed…
isofttechn
  • 400
  • 1
  • 6
  • 19
7
votes
4 answers

Tail a text file on a web server via HTTP

Looking for input on how to solve the following problem. My ColdFusion 9 app has a simple logger that writes text to a file. On my dev machine, the file is local so I can use either 'tail -f' or CFB's TailView to watch it. I'd like a tool to watch…
DaveBurns
  • 2,036
  • 2
  • 27
  • 37
7
votes
1 answer

Is it necessary to have dedicated IP Address to install SSL certificate?

I have a shared hosting plan. Now, my hosting company says it is necessary to have dedicated IP Addrss to install SSL certificate? Is that true? Can we install SSL certificate without dedicated IP address?
meetpd
  • 9,150
  • 21
  • 71
  • 119
7
votes
2 answers

Doing DB Queries Verus Storing Items in A collection?

I am trying to make to make a reminder system and I am using quartz for my scheduling. However I come up with a couple possible ways how to do what I need to do but I am not sure what the best way is and how to test it. Basically I have a reminder…
chobo2
  • 83,322
  • 195
  • 530
  • 832
7
votes
3 answers

How can I deploy my Laravel project to root folder in Hostinger with git?

I'm trying deploy my project to Hostinger with git, but I can't deploy direct to root folder (/home/uXXXXXXXX). The path in cPanel is directly to /home/uXXXXXXX/public_html. Is there anyway to deploy to root folder? My project is in Laravel. What is…
Churrumino
  • 71
  • 1
  • 1
  • 2