Web Servers

32K

Solutions

21K

Contributors

A web server refers to the software that helps to deliver web content that can be accessed either through the Internet or through an intranet. The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, etc.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello Team,

I am new to F5. I need help on F5 rules for my requirement. I was able to accomplish the same using nginx. Below is my ngnix configuration which works good.

server {
    listen       80 default_server;
    listen       [::]:80 default_server;
    server_name  wiki.mydomain.com;
    root         /usr/share/nginx/html;

    # Load configuration files for the default server block.
    include /etc/nginx/default.d/*.conf;

    location / {
	set $backend "http://172.16.222.161:8090";
        proxy_pass $backend;
        proxy_redirect http://172.16.222.161:8090 $scheme://$host/;
	client_max_body_size 100m;
        proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

   location /synchrony {
        set $backend "http://172.16.222.161:8091";
        proxy_pass $backend;
        proxy_redirect http://172.16.222.161:8091 $scheme://$host/;
	proxy_set_header X-Forwarded-Host $host;
        proxy_set_header X-Forwarded-Server $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
    }}

Open in new window


I'm specifically looking at irules for location / and location /synchrony. There are two services running on the same server one is on 8090 and another on 8091. If the incoming HTTP request contains /synchrony then it should proxy redirect them to same backend server on port 8091 and everything else should go to the same backend server on port 8090.

Currently, I setup vserver and accessing wiki.mydomain.com is going to backend on port 8090 (http://172.16.222.161:8090).

I will need help on accomplish the above task.

Thanks for advance help.

Thanks
Shankar
0
Turn your laptop into a mobile console!
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Our web servers are hosted on a 3rd party network (which our network is directly tied to). Meaning we can get to our servers at the 3rd party like we would servers sitting in our building.

Anyway, we have a load balancer and 2 web servers (let's call then ws1 and ws2).

All of our websites (www.oursite.com), obviously, goes through the LB and directs the traffic to either WS1 or WS2. If we want to bypass the load balancer, we can go to ws1.oursite.com or ws2.oursite.com.

So, here's the problem.

From internally only, if I try to go to www.oursite.com, the sites don't load. They  just spin and spin and spin. We're seeing some of the HTML come back, but it doesn't serve up the whole page.

If I go to ws1.oursite.com or ws2.oursite.com, everything loads as it should. Again, this is only happening internally...external users are not seeing any issues.

I'm not 100% convinced it's the Load Balancer causing the issue, but it sure seems that way since the LB receives the request and then sends the content back to the browser.

We are all really stumped here. Short of rebooting the Load Balancer, does any one have any insights or ideas? Thanks in advance!
0
I have a Centos Linux 7.0 Server, with Plesk Panel 12.5 running on it, I have ssh access on the server, and i can assign ssh access to the users thur the Plesk Panel. I am not sure if i have FTp server software running on the system. How to determine this, and how the upload a secure ftp server on the system. Please help
0
What exactly is the difference between a Web Framework, Web Server vs Javascript Frameworks?
0
Hello experts I'm trying to find some information on a website we have.  its address is https://csg.abc.com  Whats does the CSG represent?
I'm guessing it has something to do with Certificates?
0
I don't know when I apply for amazon job they reject my application i don't know why
0
Hello,

I had tomcat configured to redirect any requests to HTTP to redirect to HTTPS. This was functioning well until we had to do a DR restore of the DEV application. Now, HTTP does not redirect, but HTTPS works fine. I have compared the web.xml and server.xml configurations between our DEV and PROD installations, and found no differences. Below are the sanitized versions of the config:

Server.XML
<Connector port="80"
                   maxThreads="150"
                   minSpareThreads="25"
                   connectionTimeout="20000"
                   enableLookups="false"
                   maxHttpHeaderSize="8192"
                   protocol="HTTP/1.1"
                   useBodyEncodingForURI="true"
                   redirectPort="443"
                   acceptCount="100"
                   disableUploadTimeout="true"
                   bindOnInit="false"/>


<Connector port="443"
				   maxHttpHeaderSize="8192"
				   maxThreads="150"
				   minSpareThreads="25"
				   maxSpareThreads="75"
				   enableLookups="false"
				   disableUploadTimeout="true"
				   acceptCount="100"
				   scheme="https"
				   secure="true"
				   SSLEnabled="true"
				   clientAuth="false"
				   sslProtocol="TLS"
				   keyAlias="DEV_ALIAS"
				   keystoreFile="L:\ocation\to\keystore.jks"
				   keystorePass="supersecretkey"/>

Open in new window



Web.XML (this code is entered after all of the servlet-mapping, and before filter-mapping)
security-constraint>
<web-resource-collection>
<web-resource-name>Entire Application</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>

Open in new window



Any idea why this might be failing?
0
IBM websphere is stopping automatically. pls suggest me how to resolve this issue.
0
HTTP Status 405 - Request method 'GET' not supported

type Status report

message Request method 'GET' not supported

description The specified HTTP method is not allowed for the requested resource.

Apache Tomcat/7.0.69
0
Good morning All

I have a developer who wants to run a powershell script to check IIS web server configurations and changes including registry, and also use the script to configure new IIS web servers so that they will all be identical.  Is running a PS script a good way to do this or is he re-inventing the wheel?  Is there a product that will do this is a more secure / controlled fashion?

Many thanks

Eric
0
Optimize your web performance
LVL 1
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

We are looking to upgrade our coldfusion server (v 6.1) running server (2003) to a new server (server 2012) and ColdFusion 2016.

Looking for a solution/upgrade path.. If I need to upgrade first to a lower version.

If its not semi simple then possibly moving to another dev language.

Thanks in advance!
0
I have  sun server that runs a local application that uses the following ports: JMS 5630, XML 9672,
ASP Http 80 and ASP https 443, i can only telnet to port 80, telneting to the other ports I get
unable to connect to remote host: connection refused. I checked the /etc/services and I do not see the ports listed.
BTW: This application used to work without problems...

Thanks
0
Short question that requires a lengthy answer....   For security reasons -- Should we host our website on a linux box or Windows?    Ultimately it will have to share data with our MS SQL server.   Also looking for someone reasonably priced but excellent web developer.... (do those go hand-in-hand?)

Mich
0
[root@web02 ~]# cat /etc/*-release
CentOS release 6.8 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)

[root@web02 ~]# yum info -v apache-tomcat-apis
Loading "fastestmirror" plugin
Config time: 0.076
Yum Version: 3.2.29
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.rafal.ca
 * extras: centos.mirror.rafal.ca
 * updates: ca.mirror.babylon.network
pkgsack time: 0.126
Installed Packages
Name        : apache-tomcat-apis
Arch        : noarch
Version     : 0.1
Release     : 1.el6
Size        : 246 k
Repo        : installed
From repo   : base
Committer   : Andrew Overholt <overholt@redhat.com>
Committime  : Tue Feb  2 07:00:00 2010
Buildtime   : Wed Nov 10 19:18:17 2010
Install time: Sun May 28 11:58:23 2017
Installed by: root <root>
Changed by  : System <unset>
Summary     : Tomcat Servlet and JSP APIs
URL         : http://tomcat.apache.org/
License     : ASL 2.0
Description : Apache Tomcat's Servlet 2.4/JSP 2.0 and Servlet 2.5/JSP 2.1 APIs.

[root@web01 ~]# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

[root@web01 ~]# yum info -v apache-tomcat-apis
Loading "fastestmirror" plugin
Config time: 0.009
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.globo.tech
 * extras: centos.bhs.mirrors.ovh.net
0
why do we use pluginmerge.sh  in websphere application server and when &how to use it?
0
I have 1 website with 1 IP in IIS using both port 80 and port 443. I own 2 wild card certs, one for the external address (@mycompany.com) and one of the internal address (@inside.mycompany.com)

Current SSL certificate that's tied to port 443 is using the external Cert. And the website is reachable external via SSL without issues.
Internally we can reach the website using http on port 80 with the FQDN and that works fine

Management wants SSL applied to the internal web site instead of using http. One method I thought of was to add an additional IP to the website. In Local DNS add a new host name pointed to that IP. Bind the internal Cert to the IP on Port 443. Everyone goes to the website using the new FQDN. To get to the internal Site they using the new FQDN. The concern I have with this approach is that the server still has 2 IP's and local DNS will reflect that. If anything anywhere references the FQDN of the server they could end up getting an error or the wrong item displayed. I

what other options are there?
0
I do NOT want my users redirected to mobile.htm, but just left alone regardless of browser.  On a smart phone even when they type out index.htm, they still get redirected to a broken link.  I am on tomcat nix server.
1
I have 2 domains. Domain A and Domain B.
Domain A has 2 websites on single server.
Domain A is going away and the web sites will be moved to a server in Domain B.

Problem is, that web master does not have time to reconfigure all the domain information in the existing code & config files to reflect the new server names. The systems cannot go down for the time being. Will something like this work?

  • transfer the Domain A's DNS zone information over to Domain B - this way the A.com domain record still exists
  • Going into the newly transfer DNS records and change the IP of the 2 website to point their new IP's in the B domain

anyone typing Server1.A.com in a browser will get resolution from the DNS server in Domain B which will then return the IP of the new website in Domain B.
0
Hi Experts,

We have a NLB cluster of three web servers in an environment of three nodes in a Hyper-V cluster with a shared SAN storage. The website URL points to the NLB cluster IP address. When we use Move/Live Migrate to move the web server(s) to a different node, the web site becomes down.

At the same time, each individual of the three web servers are just fine -- all three servers are up and running, and all are pingable. And if logging into each individual server and trying to access the website using URL from there, the website is accessible. Apparently the website only becomes down while accessing via NLB upon the Life Migrate of the server(s) to a different node occurs.

It is frustrating and mysterious. Do you know what could be wrong?
0
Get MySQL database support online, now!
LVL 2
Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Dear Sir/Mam,
I Am  Using  KVM Vps Plan For My Domain ,Earlier I Was using Hatching plan for my domain, Upto 10th March 2017 My Website Traffic Was Around 2000Visitors Per Day,But After Changing My Server From Hatching To VPS There Was A Huge Downfall In My Traffic,initially i thought it is due to server change then i keep uploading fresh contents everyday and also resubmit my site to the google but nothing happens even after continuous uploads my traffic stuck around 600 visitors/day.I give My 100% To Solve This But Failed !!! I Talked To Hosting Provider Help Team Regarding This But Nothing Happens.
Sir, Please Help Me Regarding This What should i Do To Get My Traffic Back.

Please help Sir!!!
Thanks In Advance!!
0
Hi, anyone explain me how to do 301 redirect in tomcat server, my problem is i have a index.html file in root folder of tomcat server, where this index.html file is forwarded to another folder root/xx/ui/ folder where my original index.html file is present, so now i want to 301 redirect the root insex.html to ui/index.html file. Please anyone help me.
0
I have set up an Nginx server serving a web application on the same server. I want to forward request like www.mydomain.com/myaccount to a local folder "/usr/share/nginx/html/app" There is a test index.html file under this folder.

I have the nginx.conf file setup like below.

user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
    worker_connections 1024;
}

http {
    log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent "$http_referer" '
                      '"$http_user_agent" "$http_x_forwarded_for"';

    access_log  /var/log/nginx/access.log  main;

    sendfile            off;
    tcp_nopush          on;
    tcp_nodelay         on;
    keepalive_timeout   65;
    types_hash_max_size 2048;

    include             /etc/nginx/mime.types;
    default_type        application/octet-stream;

    server {
       client_max_body_size 20M;
       gzip on;
       gzip_types text/plain application/xml application/json application/jpeg;
       gzip_proxied    no-cache no-store private expired auth;
       gzip_min_length 1000; 
       gunzip on;

        listen       80 default_server;
        listen       [::]:80 default_server;
        # server_name  localhost;
        server_name  dev-cms.avery.com;
        root         /usr/share/nginx/html;

        # Load configuration files for the default server block.

        location / {
        

Open in new window

0
  • Main site A
  • Remote site B
  • Point to point connection between Main and Remote site
  • A & B in same same domain
  • we have internal DNS and External DNS servers
  • Internal DNS is within our domain, internal domain: local.web.com
  • External DNS is with 3rd party DNS providers, our domain: web.com
  • External Public IP nat'ed at firewall to internal IP of website IP.
  • External DNS name mapped to public IP

within our network we can load the website using the Internal URL address. However, resolution of external url is not working, failing with:
HTTP Error 404. The requested resource is not found
. If i were to load the external URL on my cell phone or with an external connection the site loads up with no issue.

I can't figure out why the external URL is failing to resolve within our network. Both internal and external URLS are different.

The only thing I can think of is that i may need to have an conditional forwarder but that makes no sense since I can resolve other external addresses.
0
Hi All,

I am getting below error


Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class com.pointbase.jdbc.jdbcUniversalDriver for datasource 'PBDataSource1'.
Message icon - Error Cannot load driver class com.pointbase.jdbc.jdbcUniversalDriver for datasource 'PBDataSource1'.

How to fix the below issue.Kindly help me ...

Email:mcitpram1433@gmail.com
0
Hello,

I have a windows 2003 server running iis 6.  We have a website hosted on it (www.mydomain.org).  I'd like www.mydomain.org/folder to be redirected to an external website.  What would be the best way to accomplish this task?
0

Web Servers

32K

Solutions

21K

Contributors

A web server refers to the software that helps to deliver web content that can be accessed either through the Internet or through an intranet. The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). The most common use of web servers is to host websites, but there are other uses such as gaming, data storage, running enterprise applications, handling email, FTP, etc.