Questions tagged [webserver]
A server which a website lives on.
266
questions
2
votes
2
answers
75
views
How to have 2 servers, different paths with same domain?
Looking for some advice on the following:
I'm wanting to have two servers with same domain. Not looking to have subdomains.
Domain: https://example.com
Server A: https://example.com/games/abcs13343/...
0
votes
0
answers
28
views
Which type of hosting/server to get for 100 wordpress blogs with 30000 daily unique visitors? [duplicate]
I am launching 100 Wordpress text based blog websites with light themes on them. I expect to get 30000 daily unique visitors with an estimated peak of 1000 simultaneous visitors across all sites.
...
5
votes
1
answer
254
views
Need to set up cgi on VPS to execute Perl (.pl) files
The server is a VPS running CentOS 7 64bit with CyberPanel. Perl is already present (ver 5.16.3) and will run scripts from the command line.
However, clicking a link to a Perl script just results in ...
2
votes
1
answer
54
views
Can I set NS values on the webserver instead of on the nameserver?
I can only ask the domain registrar (Cyber) by email or by phone to change the domain's NS values, I don't have direct access to the DNS settings.
I asked Cyber's support to change the NS values of ...
3
votes
1
answer
114
views
Why would this malfunctioning site pad its error page? [closed]
One of my daily websites, gocomics.com, is currently down with an error message:
The requested service is temporarily unavailable. It is either overloaded or under maintenance. Please try later.
...
1
vote
1
answer
80
views
Need help reviewing an Apache error log on a home webserver
I'm relatively new to web development, and I've set up a self-hosted (LAMP) WP site. After one too many configuration changes I broke the site. Apache error logs are clear as to where and when things ...
3
votes
1
answer
93
views
What are these HTTP requests to my webserver?
I got these requests on my webserver (all IP addresses redacted, they don't come from the same subnet, "x" is just a placeholder):
x.x.x.50 - - [03/Sep/2022 12:42:38] code 400, message Bad ...
0
votes
0
answers
20
views
What server settings can I change to allow me to save links to 3rd party CDNs via my browser?
All of a sudden my hosting company has changed their server rules to block people saving links to 3rd party sites (like CDNs) via the browser.
I code my CMS in the browser and need to be able to alter ...
2
votes
1
answer
88
views
How to use Apache server with statically linked binaries
I have a github repository that has C++ source code which after running cmake and make commands builds statically linked binaries. These binaries are used with a webpage called index.html created in ...
4
votes
2
answers
2k
views
Why can't I access an Apache web server on a local network with my phone?
I have a website that needs to work only on my local network, I am hosting it on Apache, I have already done all the steps to make it accessible from any PC and laptop, but for some reasons if I try ...
2
votes
0
answers
194
views
How to locally serve static website which has human readable urls | How to rewrite urls in a dev server? [closed]
So let's say there are static files
- index.html ( / )
- blog
-- index.html ( /blog )
-- blog-post.html ( /blog/blog-post )
Question 1: are this urls human readable?
Question 2: when people use ssg ...
0
votes
0
answers
9
views
Webserver/Minecraft server on same IP address [duplicate]
Here's what's going on. I have a 2019 windows server, and on it Im running a webserver (apache2), and multiple Minecraft servers. I have a domain with multiple subdomains for each Minecraft server ...
0
votes
1
answer
28
views
Why do servers cache Web pages even though they know the Web page will be changed in the future?
For performance, some Web pages get cached. This is because the server can then speed up page load time:
Without a cached copy
+--SERVER--+ +--CLIENT-...
0
votes
1
answer
35
views
Can I ban IP based on page GET then instant POST? (Spambots)
While there are lots of rules to id and ban spambots, e.g., Fail2Ban rules, it's always a cat-and-mouse chase. Nothing's perfect.
Then it hit me. The one thing they always do is get a page, then ...
5
votes
0
answers
232
views
Configure Nginx to serve the home page and a sub-directory with WordPress and everything else with Laravel
I'm currently facing a problem where a single vhost must serve two apps. One of them is WordPress, the other one is Laravel. I've managed to get it some kind of working using a URL prefix, but I can't ...
1
vote
1
answer
511
views
How can I run commands in my system using a website running on my local server?
I set up an Apache server on my system. I want to run commands and files using the website running on my local system. How do I trigger a file running using browser?
What i want to do:
I have a file ...
0
votes
0
answers
35
views
How to know which of two hosting companies would give me better TTFB?
I have a website with a principally all core MediaWiki (no added CSS/JS, no backend customizations, no addons) which is also imageless (there are no images); Webpages are generally only text of up to ...
1
vote
0
answers
58
views
httpd.conf is cached and no editing is succesful [closed]
I am going to use the WSL system on Windows10 to create a website.
The distro is Ubuntu.
I put httpd.conf in /etc/apache2/conf-available
where there are these two lines (line 40):
Define SRVROOT "...
1
vote
1
answer
35
views
Are Plesk or cPanel helpful for bringing up new VPS servers?
I'm a programmer, and I like to create some website by my own (php, or asp.net).
Until today, have manually configured the VPS servers that I've bought. (So for instance for an Ubuntu VPS, I install ...
2
votes
1
answer
936
views
403 forbidden error when IIS is binding ASP web app on port 8080 to be accessed via a subdirectory
Windows Server 2012 R2 / IIS 8.5
I have a number of folders in C:\inetpub\wwwroot;
- wwwroot
- index.html
- analytics (PHP app)
- occupancy (PHP app)
- rooms (ASP app)
In IIS my sites ...
1
vote
1
answer
702
views
Server Load: Image Downloading vs. Image Viewing
I think my question is fairly simple, but being a bit of a newbie I don't know the answer and I haven't been able to find a satisfactory one searching online.
If I have a 25kb page (html) that ...
3
votes
2
answers
417
views
Does server timezone affect SEO?
I understand that the geolocation of a server impacts search engine rankings. But does server time affect SEO in any manner? For example, assume that my server is located in the US. If I set the ...
1
vote
1
answer
114
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 ...
1
vote
1
answer
5k
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
1
answer
101
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 ...
4
votes
0
answers
22
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
0
answers
14
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
1
answer
295
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
0
answers
27
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 ...
2
votes
0
answers
160
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
0
answers
668
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
0
answers
25
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
1
answer
75
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
4
answers
2k
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 ...
3
votes
3
answers
3k
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 ...
2
votes
2
answers
1k
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
0
answers
137
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
1
answer
83
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
0
answers
271
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 ...
4
votes
2
answers
123
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 ...
0
votes
0
answers
66
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.
...
5
votes
0
answers
63
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
0
answers
57
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 ...
4
votes
1
answer
808
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;
...
2
votes
1
answer
175
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>
...
2
votes
1
answer
88
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 ...
2
votes
0
answers
48
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
0
answers
806
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 ...
1
vote
1
answer
2k
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
1
answer
1k
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 ^(([^/]+/)*[...