Questions tagged [web-hosting]

The setting up and running of a server to serve web pages via the internet or LAN. Where you are not the administrator of the server the questions may be best asked on webmasters.stackexchange.com (for example if using shared hosting).

983 questions
2
votes
6 answers

How do we create fail-over DNS for web services?

I am trying to setup a completely failsafe DNS system. Our web application serving infrastructure is sound with multiple failover servers but DNS is a weak-point for us. We currently tell our domain registrar to use our hosting providers…
2
votes
4 answers

Help Selecting The Best WebHost

Can anyone recommend a user-friendly (I'm new to website development) and inexpensive web host (my websites are simple and small, so no need for a beef-eating server) that will allow me write access to the file system from PHP? My current web host…
Joshua
2
votes
1 answer

How to prevent "host header injection vulnerability" in Nginx proxy server

Please help me to prevent "host header injection vulnerability" in the given "Nginx configuration file" server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; index index.html index.htm…
aks
  • 57
  • 2
  • 7
2
votes
3 answers

Web hosting for a client exposes his credit card details to me

I'm building a web app for a client and I'm looking to host with someone like Media Temple. I will manage the server and everything, but the client pays for the hosting with his credit card. The problem is he will have to enter his credit card…
user29403
  • 133
  • 4
2
votes
1 answer

Apache ProxyPass-ing Multiple Locations

I am currently having issues trying to use Apache to act as a reverse proxy for the front end of our application and our backend API. For example, if a user hits the URL https://my.app.com/ they should be taken to our front end application served…
Jake Hewitt
  • 31
  • 1
  • 5
1
vote
0 answers

Can IIS be prevented from serving HTTP requests for an IP address (rather than URL)?

TL;DR Can IIS be prevented from serving requests to an IP address (e.g. https://12.34.56.78) while continuing to serve web site URL's? We have a physical dedicated server hosted by a UK hosting company (Windows 2012 + IIS8). It currently hosts 4…
EvilDr
  • 164
  • 1
  • 2
  • 16
1
vote
2 answers

CentOS running out of space for website files

Disclaimer: I know my way around Linux, but I'm out of the loop for a while. I have a CentOS 7 server where I host a couple of my small websites in /var/www/website1, /var/www/website2 and so on. Now I want to add one more website which will have…
6bytes
  • 805
  • 2
  • 10
  • 15
1
vote
2 answers

ProCurve Switch 5406zl isolate VLAN for web hosting

Need to host company website in internal network using existing hardware. Still learning how to do things... All VLAN's can talk to each other. How can I isolate VLAN250 from the rest of the network so that VLAN250 that the company website will be…
Omar
  • 111
  • 2
1
vote
1 answer

WAF and CDN issue with IIS

I am using GoDaddy's Website Application Firewall (WAF) and Content Delivery Network (CDN) which is similar to sucuri with an IIS hosted website. However, I have run into some trouble ever since the website started using the WAF and CDN. I cannot…
Bobi
  • 113
  • 3
1
vote
2 answers

What type of Firewall appliance for website co-location?

We are moving a high traffic site (20Mb/s - 80Mb/s) to a co-location instead a dedicated server at a hosting company. As part of the infrastructure build-out we are deciding between buying a FortiGate 110C or a capable used 1U Server and installing…
Nathan Palmer
  • 205
  • 3
  • 7
1
vote
1 answer

How are web hosting companies able to give everyone public IPv4 addresses

I've a few web applications on AWS/Linode/Digital Ocean/Hostgator's VPS instances and each has an IPv4 address. As I understand it, APNIC and ARIN distribute IP addresses and new hosting companies have to buy unused IPs from ISPs going out of…
Nitin Nain
  • 111
  • 4
1
vote
1 answer

Why do hosting services like SquareSpace require CNAME records in DNS settings, when pointing a domain to the Squarespace servers?

I pointed a domain https://www.example.com to https://www.example-2.com by updating the @ and www A Records in the DNS settings of https://www.example.com, to use the IP address of https://www.example-2.com. This seems to work. Why do hosting…
Sagar Patil
  • 113
  • 5
1
vote
1 answer

Automation to spin up EC2 Volumes (dedicated machines) for each webproject

I'm planning to set up a sort of private hosting environment for me and my webprojects and am wondering if there is a great/easy solution to spin up new ec2 volumes (always a dedicated volume/machine) for each of my webprojects fast. I'm right now…
Matt
  • 43
  • 1
  • 3
  • 11
1
vote
0 answers

What could cause Nginx to write this much I/O?

I have a high-traffic webserver (up to ~50 page loads per second) running nginx, which passes HTML requests to a PHP-FPM backend and serves static assets directly. Under this load, I get a curiously high amount of disk I/O from the nginx worker…
1
vote
4 answers

Shared Hosting that allow use as backup

I have been looking around for a while and I can't seem to find a shared web host that will allow me to backup my offsite data nightly (using rsync). I am using the host itself to do development work on a clone of that site that I am backing up.…
Brandon G
  • 153
  • 5