Questions tagged [webserver]

A server which a website lives on.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Upstream Nginx server is appending port when responding back to load balancer Nginx

We are using the Nginx load balancer that balances the load to our two upstream Nginx web servers. TCP load balancing is done using a server block inside the stream block as below. stream { upstream ...
0
votes
0answers
8 views

How to create socket dynamically on lighttpd server?

We are hosting more than 200 websites/users on the lighttpd web server. When we keep all the socket connection open/active, the memory consumption is very high. We want to create the socket, on demand ...
0
votes
0answers
36 views

why I can't login to cPanel, shows error Maximum Users Exceeded?

When I try to login to cPanel, it shows an error Maximum Users Exceeded. please see the error message below. I didn't do any changes to server. this appears very suddenly. how can I fix this? I ...
1
vote
1answer
42 views

How does the server distinguish between 2 host names being pointed to the same IP address?

How does a Windows server distinguish between 2 host names being directed by DNS to the same IP address? I started a new job recently. We have files.example.com pointing to x.x.x.x IP address. I got ...
2
votes
3answers
8k views

Still prompted for a password after adding SSH public key to a server

I'm attempting to setup a git repository on my Dreamhost web server by following the "Setup: For the Impatient" instructions here. I'm having difficulty setting up public key access to the server. ...
47
votes
6answers
11k views

When webservers send a page, why don't they send all required CSS, JS, and images without being asked?

When a web page contains a single CSS file and an image, why do browsers and servers waste time with this traditional time-consuming route: browser sends an initial GET request for the webpage and ...
3
votes
0answers
15 views

Is It possible to deploy second website on 1 instance in AWS?

In Amazon Web Services, I have added second Network Interface and added Elastic IP and associated it with secondary Private IP. How can I deploy my second website on that Elastic IP?
1
vote
0answers
10 views

Challenges setting up httpd-vhosts.conf Apachev2.4

I will start this by saying that I am educated as a mechanical engineer, working as a Control Systems Engineer (electrical engineering) and I've been tasked with setting up a Web Server for a company ...
0
votes
1answer
35 views

What's the WWW Server/1.1?

I use netcraft.com query a site there shows Web server: WWW Server/1.1. I want to know what is it?
0
votes
0answers
22 views

Why are post, get and put needed on top of HTTPS protocol? [duplicate]

I understand that the HTTP protocol, especially of the secured type, secured with some data encryption method such as TLS and certified with some SSL certification, is the main way to transfer data in ...
1
vote
3answers
3k views

CSS files not updating on FTP transfer overwrite

I have a weird issue: I have made changes to a CSS document but when I upload it and overwrite the existing file nothing changes - the old file remains. I have tried this on several FTP clients to ...
1
vote
0answers
134 views

Use .htaccess/SSH/Cpanel to prevent a specific part of a specific PHP script from being processed

I have a website built with MediaWiki CMS which I host on a CentOS based Apache "shared server environment" (SiteGround) in which I can partially control Apache by: .htaccess files SSH Some Cpanel ...
1
vote
0answers
32 views

Why is nginx trying to bind to an IP address that I'm not telling it to, and how can I stop it?

I'm trying to host two separate websites from my VPS. I have two services running on different ports. What I am trying to accomplish is have nginx reverse proxy to Service A if the user types in a ...
1
vote
0answers
23 views

Why might some foreign IP addresses maintain persistent connections to my web server for several days?

I recently noticed a number of foreign IP addresses connected to my web server have remained active for several days (possibly longer). This server only hosts a small number of static files so it ...
1
vote
1answer
41 views

How does the base URL of a website show the contents of home.php?

My server only contains some files like home.php, this.php, that.php, etc. But when I type my website (example.com), how does it show the contents of example.com/home.php?
6
votes
4answers
205 views

Why do we have to pay for web hosting rather than do it ourselves?

I am very unfamiliar with this concept, and have seen something's around the web that just don't make sense to me. I am curious as to how you can build your own website. Then host it on your own home ...
2
votes
1answer
271 views

Is it a security issue when PHP runs as root in a shared hosting environment?

When one has an account on a shared server host running cPanel, the account runs in a jailed environment where access to files is restricted to /home/myaccount/ and its subdirectories. However PHP ...
3
votes
1answer
778 views

Installing mPDF PHP library for website without root access

I would like to install mPDF for use on my website. However, I don't own my own server, and am using shared web hosting. I can log in using FTP, but AFAIK I do not have access to a terminal nor root ...
3
votes
2answers
2k views

Using one index file in all directories and subdirectories

I have an index.php file, which processes content of a directory it is located in and renders output to the browser. The problem is that the directory structure it is supposed to serve is rather ...
2
votes
0answers
44 views

Is it the responsibility of the web client or server to use the directory index file for the home page?

The Cengage Learning textbook New Perspectives on Microsoft Office 2013 says this on page IB5: If a URL does not include a filename, many web browsers will load the file that contains the website's ...
1
vote
3answers
773 views

What are the benefits of utilizing a Web Server vs opening an HTML file directly via your browser

I've just begun coding in Javascript. I'm looking for an in depth answer that explains the features that are available to me when using a web server to serve up my index.html file vs simply opening ...
1
vote
2answers
193 views

What makes Open Graph checkers unable to detect Open Graph data?

My page, after adding SSL certificate, cannot have preview fetched by Facebook or Twitter when sharing the link. I have followed The Open Graph protocol and include the following open graph tags: &...
0
votes
0answers
40 views

buckaroo return url flagged by mod_security

Mod security flagged this buckaroo return url as a possible SQL injection attack Short of excluding /you/pay/buckaroo from mod security rules all together from protections with SecRule ...
-1
votes
1answer
36 views

XMLHTTPRequest denied because of Origin mismatch

I get the following error: Access to XMLHttpRequest at 'http://example:8080/*' from origin 'http://example' has been blocked by CORS policy: Response to preflight request doesn't pass ...
0
votes
3answers
2k views

How to test the speed of my server inet connection? [closed]

The connection speed our webapp is showing (from my office) is much slower than my connection speed to a SpeedTest.net site in the same city. I can test my internet using SpeedTest.net to Houston (...
0
votes
0answers
63 views

Why does my Route 53 domain say “server transfer prohibited”? It it a problem I need to fix?

So recently I made the switch back and forth from a static website (s3 bucket) to lightsail (so I've had to reconfigure my R53 settings a few times, & of course something had to go wrong in the ...
0
votes
0answers
18 views

Possible security issues when running a web server on a home connection? [duplicate]

I want to run a home web server, but I'm concerned this could expose my home network to security issues. The server will run on a dedicated machine, with nothing on it except the os + lamp stack. ...
4
votes
2answers
96 views

How to prevent domain mirroring?

My URL = https://mydomainurl.com/example-post URL B = https://mirroringurl.com/cdn/example-post All HTML code at "URL B" is the same as the one at my URL, and when I change anything at my site, "URL ...
4
votes
0answers
50 views

Can I use a reverse proxy service to route web requests to some other port than 80 on my home server to avoid breaking my ISP's ToS?

Is there a way to route all requests thru a proxy service, like Amazon Gateway, to specific ports on my home internet? This will increase security at my home and will allow me to operate with the ...
0
votes
0answers
43 views

Redirect users to web server based on user IP

I have a web server that has windows authentication, I want to disable the windows authentication locally, anyone on the local network can access it without authentication. after long research I have ...
2
votes
2answers
1k views

Is index.html required?

I understand that a web server looks for a default page file to serve such as (source): index.html index.htm default.html (Windows servers) However, I am wondering if this is necessary and what ...
4
votes
1answer
359 views

Nginx subdirectory wordpress wp-login redirects to 404 not found

server { location / { try_files $uri $uri/ @extensionless-php; } location /shop { try_files $uri $uri/ /shop/index.php?q=$uri&$args /shop/index.php?q=$uri&$args; ...
0
votes
2answers
2k views

What kind of hosting web server / DB / infrastructure is need for high volume dating website?

I want to know what kind of infrastructure is need for a dating website developed in php/mysql. Consider a website like match.com and eharmony.com with millions of users. Users create their profile, ...
2
votes
1answer
43 views

HTTP/2.0 loads resources in parallel, will that change dependency order of CSS and JS in my HTML source code?

I'm willing to use HTTP/2.0 on my apache server. I'm using apache over HTTP/1.1 and I have structured my site like this : <head> sharedJS.js 1.js 2.js sharedCSS.css 1.css 2.css </head> ...
3
votes
3answers
2k views

Apache2 Ubuntu 16.04 Impossible To Get CORS Working

When visiting my website I get an error in console tab (using Firefox). The error is: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at somewebsite. (...
2
votes
1answer
28 views

How can I select server size based on the visitors I am getting on my website?

I am looking for some solid explanation or better if there are any industry standards for choosing the server size as per the number of visitors and page-views? And, should one decide server size ...
1
vote
1answer
735 views

Handling requests to server's IP address

I have an Apache Web Server running some virtual hosts, site1.com and site2.com. What do I do with requests to the server's IP address? Is it safe to allow requests by IP or do I need block, ...
0
votes
1answer
79 views

Apache2 failed to restart because of address already in use

Whenever I try to restart my apache2 service it shows an error like this: service apache2 restart Job for apache2.service failed because the control process exited with error code. See "systemctl ...
6
votes
1answer
619 views

What's the point of cross-origin resource sharing if there's a bunch of CORS proxies running?

I never really liked the direction CORS (cross-origin resource sharing) is taking. I think there's a misconception how client-server communication should work. The general concept is: User: Hello ...
2
votes
0answers
36 views

.mht files display as junk text from Jetty server

I have some .mht files which load fine from local files but when loaded from the Jetty web server display as junk text. What can I do to make them work correctly from my Jetty web server? I know ...
2
votes
0answers
291 views

How can I fix two conflicting SSL certificates? (One expired)

Background: I recently inherited management of a web project and ran into an issue with an expired SSL certificate. The site is hosted on AWS with a wildcard certificate generated from ACM, which is ...
4
votes
1answer
67 views

Correct configuration for mail DNS when mail server sends mail, but have zoho accounts for business comms also

I'd like some help sense checking my website email and DNS set up, as well as troubleshooting one issue I have. I have a website with a mail server installed for sending order confirmation emails. It ...
1
vote
1answer
1k views

How to run multiple Node.js sites (apps/servers) with separate SSL cert's, on a single IP address?

The desired scenario is as the title suggests: Multiple Node.js servers/apps/websites, on separate domains, each with own SSL certificate, on a single server with a single IP address. So far I have ...
5
votes
1answer
574 views

Will it hurt SEO to remove the '.html' extension from static pages such that they get served as 'text/x-generic'?

If we want to go with static website, we generate static html files of pages with names like contacts.html and we may add to our .htaccess file the lines like RewriteEngine On RewriteRule ^(([^/]+/)*[...
1
vote
1answer
472 views

cPanel, redirection and aliases (forces redirection) [closed]

I have cPanel and I have domain A, Then I created a Domain Alias B, But Alias B has been redirected to A domain, I don't want to redirect it.
1
vote
0answers
11 views

Which server and hosting for streaming video and images? [duplicate]

We are looking for suggestions on which hosting and server to use for our app that allows us to upload content (images/videos) which is viewed by our users on their smartphones. The videos are in MP4 ...
1
vote
0answers
24 views

Performance Issues with Web App [closed]

I'm currently preparing the release of an online tool: example.net/configurator Unfortunately, I've got massive performance issues. I'm currently hosting at A2 Hosting which I actually thought to be ...
2
votes
1answer
76 views

what should be my initial address for sitemap and robots.txt if I'm using redirection

What should be my initial adress when using this site: http://www.xml-sitemaps.com? I have a folder inside my root where I have all my files. For example I have example.com and my start directory is ...
1
vote
0answers
146 views

Configure Wordpress to listen on a port other than 80

Looking to set up remote ssh access to a Linux box running Wordpress. That part should be straight forward enough -- just reserve an IP address for the MAC address to that NIC. Once that's ...
5
votes
2answers
2k views

How to setup CloudFlare Origin CA with a wordpress server hosted on Amazon AWS?

Many might know that recently CloudFlare introduced something really amazing for everyone with a domain: CloudFlare Origin CA. I have a WordPress website hosted on Amazon AWS, and what I initially ...

1
2 3 4 5