Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
When I create simple website in one.htmlfile, I know I'm able to easily put the code to free web hosting and just create my own website.
But I'm completely lost with php files. When using (even paid) web hosting service, does it provide you some kind of online version of database my php files can communicate with? How does this advanced-online hosting work?
Usually you will need paid hosting to be able to run PHP files and manage one or more MySQL databases (reasonably). Hosting isn't that expensive, though. If you just plan on having a little website for yourself, don't purchase the super duper package; upgrade to it once it would be necessary, which might be some years down the road.
Web hosts offer different kinds of support, but PHP and MySQL are fairly standard. Usually, everything will communicate with the same things, i.e. you will set up a MySQL database on your host and your PHP files will be coded such that they work with that database. Everything is on your web host, just like how HTML files can only reference files on your webserver (as opposed to your computer, which is not possible).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am creating a small website on Asp.net MVC and SQL server. After the development is over Client is now asking help for me to deploy the code. I don’t have any idea how to host this application in Production environment. Can anyone please list all requirements to me like
Buy Domain name like www.example.com
Do they need to buy SQL Server license as I use basic table and store procedure only
Do they have to buy windows OS? As this is very low budget website, could you please suggest the best cost effective option?
I have heard of hosting in Azure and other services are they cheaper? Do I have to buy SQL server license Azure?
The client is a startup company and the also don’t have any idea how to host a website.
For starters a shared asp.net web host will do
1.You can purchase shared hosting from many of the available hosting providers you can get a comprehensive list from - http://www.asp.net/hosting/home. Shared hosting is really cheap.You can get it for as low as 50 USD / year and you also get to create a SQL Server(usually providers have the latest version supported) DB for which you do not need a license.You could deploy your stored procedures,tables, views or use Entity framework .
2.Usually when you purchase shared hosting - the provider also takes care of registering a domain for you at a small fee
3.Once you get shared hosting , login with your credentials,you will see options in the Control panel to Deploy your website and you are ready to go.
If you anticipate heavy traffic on your website you could think of using Windows Azure later.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am just thinking of moving a website from a VPS to Windows Azure Web Sites. After doing a load test, I accidentally took down my test website, using around 30MB over the daily bandwidth.
This made me wonder what would happen if my website was suddenly hit by a DDOS attack? I'm pretty sure everything would max out the daily and hourly limits in no time, even worse, redirecting all the users to the azure over limit notification.
Is there anything that can be done about that? I know the daily bandwidth limit will be harder to reach after I put all the images on a CDN, but I'm afraid what would happen if there's a spike or something.
Sorry for such an answer with no head and tail. I hope you guys will understand.
Windows Azure has built-in load balancers that will stave off most (if not all) DOS type attacks. The truth is, Microsoft is very hush-hush on the specifics of how their load balancers protect against malicious attacks (as they should be).
An added benefit to hosting your applications in the cloud is that you can take advantage of auto-scaling when you get heavy loads (malicious or otherwise) so your site won't go down.
You might want to check out the Security Best Practices For Developing Windows Azure Applications document for more information on this.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to write a web application that needs a websocket server.
I want to host this websocket server on some famous web hosting provider (such as 1&1 by example).
Which web hosting provider should I use?
If you want to use a websocket server which you can start and stop at will I would much rather recommend a cloud solution. It's cheap and lets you interact with the server directly, which is most likely impossible with more traditional hosting providers. I've only used Amazon Web Services and Google App Engine myself, they both have a free tier which you can use to build and test your websocket application. There are many more providers, also have a look at PaaS services like Nodejitsu. It all depends on what specific technologies you want to use I guess.
(note: AWS lets you SSH into your instance and you can use any platform/technology you want while GAE is web based and limited to Go, Java and Python. It doesn't mean AWS is better, again it depends on your case.)
You can use WebSockets for your .NET apps with GearHost at www.gearhost.com. It's free and gives you 100 free CloudSites and 100 free databases.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a hosting account with GoDaddy, but it does not support Haskell.
I recommend amazon web services, $15/month for a micro instance for testing/devel, and the costs go up from there depending on your needs. For the love of all that is good and wonderful in this universe, however, do not use godaddy for anything but SSL certificates and domain names. This just seems like an absolutely horrible idea. They're just not the kinda people you want to work with on things like that.
As alternative VPS providers go, there are slicehost, linode, rackspace cloud, and I'm sure some others too. In my experience with rackspace cloud, slicehost, and AWS, AWS has been best by far.
NearlyFreeSpeech is a web hosting provider that supports Haskell as CGI language (list of languages supported).
I'm hosting my personal webpage with them, although I don't have experience with the CGI part, because my site is entirely static.
GHC compiles Haskell code to a UNIX executable, so anything that can run an arbitrary executable file and has some kind of front-facing server (e.g. nginx with mod_proxy) capable of proxying to your Haskell process is all you need.
If you are planning anything serious that is a little non-standard, get a VPS somewhere. It’s ~350$/year and you have a little virtual machine on which your are alone and you are root
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have moved this question to serverfault where it might be more appropriate.
See https://serverfault.com/questions/128329/how-do-you-host-multiple-public-facing-websites-on-a-vps
We host about 30 websites using typical shared hosting plans using ASP.NET and SQL 2000/2005/2008.
I am now wondering about hosting all of these websites using our own virtual private server such as http://www.crystaltech.com/vps.aspx
This is clearly cheaper but comes with a lot of questions I need answers to:
Is the risk of having to keep this VPS server up and running worth it? Until now, the host provider has managed the server and we have not had to worry about crashes, downtime, software patches etc. We are not server administrators, we are programmers, so this is not really our expertise. On the other hand, it may not be hard to learn.
When we make a website live, we log in to a domain management control panel and change the primary and secondary name servers to point to our shared web host:
Eg ns1.sharedwebhost.com and ns2.sharedwebhost.com
These name servers are going to have to change when we have a VPS. I don’t understand anything about how to set this up. Is there some useful info anyone could direct me to? Or is there software we need to install to make the primary and secondary name servers work on our VPS?
The control panel we have for shared hosting comes with DNS management like this:
(source: yart.com.au)
What software would I need to install to create this for each site we host at a VPS?
The control panel we have for shared hosting also comes with a POP email interface that allows email addresses to be added easily:
(source: yart.com.au)
Is this something that can be easily set up at a VPS so clients can manage their own email addresses?
Is there software we need to install to make this work?
1) It depends on your applications, visitor patterns, required resources, etc. In general I'd say if you don't have the expertise - prefer scalable hosting solutions or managed dedicated servers (which can be quite expensive, but cheaper if you require very high availability).
Personally I host few dozen websites on my VPS and generally it is very easy to manage manually (after all it is Windows Server, you have GUI and PowerShell). That is until you hit a problem or someone hacks you.
2) You can always use free or paid DNS services or install OpenDNS on your VPS server (not recommended). Your VPS hoster might be providing DNS servers, ask them.
3) You can buy Plesk or cPanel and manage your websites the same way.
4) Same.
Everything you ask can be set up initially by your VPS provider. They will install control panels that will allow you to easily manage your websites, while having full server access as well.
You can have the best of both worlds. I use EuroVPN at www.eurovpn.com - they offer Semi-Managed plans on their VPS's (they have a sister company, EcoVPS for people who don't want this support). When I say semi-managed, the proactive monitoring is done by you, but you can always raise a ticket if you get stuck or there's a problem, and an engineer (1st/2nd & 3rd line) connects in using RDP to do the work for you.
Also, they give Plesk for "free".