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
166
votes
39 answers

PHP session lost after redirect

How do I resolve the problem of losing a session after a redirect in PHP? Recently, I encountered a very common problem of losing session after redirect. And after searching through this website I can still find no solution (although this came the…
dayuloli
  • 16,205
  • 16
  • 71
  • 126
100
votes
11 answers

Compiler error - msgfmt command not found

I'm trying to update Git from my shared hosting. For that I'm following these steps: Download latest Git version Unpack and place it on the server Configure and create the Makefile -> ./configure --prefix=$HOME/dev/git/src --without-tcltk Build the…
John
  • 3,529
  • 14
  • 42
  • 48
63
votes
2 answers

Change primary key column in SQL Server

UPDATE Here are the constraints as a result of the query SELECT * FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE WHERE TABLE_NAME = 'history' CONSTRAINT_NAME COLUMN_NAME ORDINAL_POSITION PK_history userKey 1 PK_history name …
ckbhodge
  • 913
  • 2
  • 9
  • 19
61
votes
6 answers

Why node.js can't run on shared hosting?

First thing: I searched all of the known web hosting companies for shared hosting of nodejs but I didn't find anyone. Then I came to know that nodejs cannot run on a shared host system. I want to know why? Second thing: I am a normal guy with a…
Yousuf Memon
  • 4,638
  • 12
  • 41
  • 57
57
votes
11 answers

How can I use Prettify with Blogger/BlogSpot?

I'm using blogger.com to host some texts on programming, and I'd like to use Prettify (same as Stack Overflow) to nicely colour the code samples. How do I install the Prettify scripts into the blog domain? Would it be better (if indeed it's…
billpg
  • 3,195
  • 3
  • 30
  • 57
35
votes
5 answers

What is the equivalent to cron jobs in ASP.NET?

In PHP we have cron jobs, where the hosting server automatically picks up and executes a task as per the schedule given. What would be a good alternative to use for CRON jobs in ASP.NET? I'd like to use a Web service, but that will not work in a…
Farooq Ahmed Khan
  • 3,975
  • 3
  • 27
  • 36
34
votes
4 answers

How to access site through IP address when website is on a shared host?

I want to edit my host file to forward a website to another IP, but that IP is on a shared host, so the IP doesn't take me to the domain I want. Is there a way around this? i.e. Website: http://somerandomservice.com/ Ping the site and go to:…
Andrew Tsay
  • 1,893
  • 6
  • 23
  • 35
32
votes
5 answers

Using Git with shared hosting plan

So I started using Git together with this workflow to make a personal website (mostly for testing and to learn Git) and I am developing it locally on my laptop using Xampp. But now I would like to make this website public and upload it to my…
Gladen
  • 792
  • 2
  • 8
  • 17
30
votes
10 answers

update command is denied for user

I've been using this free hosting site for development and testing. I couldn't use an UPDATE MySQL command to change the database values, even though the user is supposed to be allowed to use all commands from cPanel. Then, I've tested the same with…
pahnin
  • 5,367
  • 12
  • 40
  • 57
29
votes
4 answers

Difference Windows Azure and GoDaddy

What are all the differences between Microsofts Window's azure and web hosting companies like GoDaddy, hostgator ?
kayak
  • 1,805
  • 5
  • 18
  • 22
27
votes
3 answers

How does Google App Engine compare to web hosting plans?

Google App Engine offers free quotas of 1 GB outbound traffic per day and 6.5 CPU-hours (based on a 1.2 GHz Intel x86 processor) per day. How do those free quotas compare to web hosting plans? For example, the traffic supported by the free quotas --…
Continuation
  • 12,722
  • 20
  • 82
  • 106
26
votes
1 answer

How can I run RavenDB in a shared hosting environment?

RavenDB has the ability to run in 'embedded' mode, which as far as I understand, should allow it to be run in a shared hosting environment. Does anyone have any idea how it would work in an ASP.NET MVC application, and what the best practice for…
Bennor McCarthy
  • 11,415
  • 1
  • 49
  • 51
25
votes
5 answers

ASP.NET MVC and IIS 5

What is the best way to get hosting of an ASP.NET MVC application to work on IIS 5 (6 or 7). When I tried to publish my ASP.NET MVC application, all I seemed to get is 404 errors. I've done a bit of googleing and have found a couple of solutions,…
Dan
  • 29,100
  • 43
  • 148
  • 207
24
votes
8 answers

The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))

I have a website in an IIS 7 shared hosting environment. It's running .NET 3.5. I have a download button to download a file from the server. When I locally deploy this application to IIS 6, it runs fine. On the IIS 7 shared hosting server, the…
Salman Roy
  • 575
  • 2
  • 12
  • 27
23
votes
13 answers

Laravel 5.8 , artisan commands error : Failed to parse dotenv file due to an invalid name

This problem only happens with Laravel 5.8 on my shared hosting. It is working fine in my shared hosting with Laravel 5.7. It is working fine in my local environment with Laravel 5.8. the problem is: every time I run php artisan commands (on my…
1
2 3
99 100