Web Servers





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 Experts

How do I redirect permanently a website from  www.example.com to www.newweb.com\frist_level\newwebsite ?
OWASP: Forgery and Phishing
LVL 13
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.


First Windows 2012 R2 Server Web Farm  2 Nodes.

Node 1 Issue Node 2 OK

Get this event over and over

Log Name:      Application
Source:        Microsoft-Windows-IIS-W3SVC-WP
Date:          10/8/2019 16:11:30
Event ID:      2280
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      TGCS013-N1.our.network.tgcsnet.com
The Module DLL C:\Windows\System32\inetsrv\iiswsock.dll failed to load.  The data is the error.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
    <EventID Qualifiers="49152">2280</EventID>
    <TimeCreated SystemTime="2019-10-08T20:11:30.000000000Z" />
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Security />
    <Data Name="ModuleDll">C:\Windows\System32\inetsrv\iiswsock.dll</Data>

Open in new window

I tried to run regsvr32 /u iiswsock.dll    it failed said it could not find the dll

I did a search o Node 1 and the file was not located in any working folders it was only located in c:\windows\winsxs\amd64... and C:\windows\winsxs\wow64....
They are updated files.

On Node 2 I found them in Windows system32 inetsrv   and windows syswow63 inetsrv

So I copied them over

But when I try to register the dll it fails

The module iiswsock.dll was loaded but the entry-point dllunregisterserver was not found

make sure that iiswsock.dll is a valid dll or ocl file and then try again.

What installs iiswsock?

How can I fix this ? It s stopping my other sites from going production,  The Application pool default application pool keeps stopping and this is the error that occurs.

Were having weird issues with our intranet, Our Intranet, which is hosted on a Server 2008 seems to be intermittently not allowing people to connect, "page not responding" after 10 minutes it works for that user, whats weird is that while it isnt working for 1 user it is for another. Its like the server is rejecting connections.

Has anyone seen this before?
Dear All ,

I am having problem while publishing a web application under a virtual directory on IIS.
below is the message i am having , while working on the http after a while
There was no endpoint listening at "http://localhost/Myservice" that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if
present, for more details
Please help me .
Thank you
I am using ClickOnce deployment to deploy a program to client's computers. I signed it with a self signed certificate and added it to my root CA just for testing. I then deployed updates onto our web servers to test our update feature as described here:
However, when attempting to download the manifest, it returns an error. Below is the log:

Following errors were detected during this operation.
	* [7/25/2019 4:08:55 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
		- Downloading https://aienrqa2.synergydcs.com/Downloads/WYEPB/EPB.application did not succeed.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
			at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
			at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState, X509Certificate2 clientCertificate)
			at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification 

Open in new window


I'm using WHM/Cpanel in my server, and want to access a user's web files with the browser using the server's IP: http://xxx.xxx.xxx.xxx/~username/ . When trying to activate mod_userdir from WHM's "Apache mod_userdir Tweak", I get this message:

Web server processes on this system currently run as the user. For security reasons, the system disabled mod_userdir. Any changes that you make in this interface will not take effect until you enable mod_userdir. To use mod_userdir, you must disable mod_ruid2, mod_itk, and mod_passenger and recompile EasyApache.

So the question is, how do I do all that? I have to disable mod_ruid2, mod_itk, and mod_passenger and recompile EasyApache. I've really tried searching online, but what I've found doesn't work for me. I'm using CentOS 7 and my CPanel version is 80. Thanks!
I get this error when I try to upload a new version of an existing file:
Upload MediaWiki\Revision\IncompleteRevisionException from line 420 of ..\includes\Revision\RevisionStore.php: sha1 field must not be ''!

The orginal / current file on the wiki was uploaded back in September 2018. Since then, the wiki has been upgraded and migrated to a new server.

Currently, we are using MW 1.32.

Now, If I upload a new version of the same file, i first get a couple of warnings:

  • A file of this name has been previously uploaded and subsequently deleted. You should check the deletion log before proceeding to upload it again.
  • A file identical to this file (File:file.pdf) has previously been deleted. You should check that file's deletion history before proceeding to re-upload it.
I then click the "Ignore warning and save file anyway" button. This results in the error:

[12911fa08d4b434347f272f4] /wiki/index.php?title=Special:Upload MediaWiki\Revision\IncompleteRevisionException from line 420 of C:\inetpub\wwwroot\wiki\wiki\includes\Revision\RevisionStore.php: sha1 field must not be ! Backtrace:

0 C:\inetpub\wwwroot\wiki\wiki\includes\Revision\RevisionStore.php(473): MediaWiki\Revision\RevisionStore->failOnEmpty(string, string)
1 C:\inetpub\wwwroot\wiki\wiki\includes\Revision.php(1136): MediaWiki\Revision\RevisionStore->insertRevisionOn(MediaWiki\Revision\MutableRevisionRecord, Wikimedia\Rdbms\DatabaseMysqli)
2 …
Just installed iis web server 7.0. will run asp classic with access data base. set up virtual directory and application pool but get 404 directory not found
I installed Guzzle and  the Avalara tax client on my machine today and got the attached notices while doing so... is that "hard copies" notice something to be concerned about? It seems like its saying that it took a snapshot of those folders and if I ever change anything in the source folders from now on I need to reinstall, which obviously isn't good.
Hi Team,

We are facing issue with one of our web URL it configured in IIS & Apache Tomcat on (windows server 2012 R2)

While accessing the URL the web portal is not getting open. we are trying to do IIS restart it work sometime but now it is not working.

we have checked the connectivity from remote site the Ping & Telnet is happening.

Below are the URL.


we also trying access in that we are getting welcome screen.
Bootstrap 4: Exploring New Features
LVL 13
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

I am hosting my website in a VPS server (InterServer.net). Unfortunately, I can't pass NameValueCollections to a vb.net page in the server; when I do the same in my localhost (Windows IIS), the calls are successful and the NVC is properly read by the receiving page.

My host says that I am the one responsible for the settings on my VPS server. But I am stuck because I can't figure out which settings I need to enable for such a simple functionality. I have turned on websockets but nothing changed.

The submitting page is from a desktop application with this code:

       Dim SMSAPIKey As String = am.SMSUsername & am.SMSPassword

        NVC = New NameValueCollection
        NVC.Add("toNo", toNo) 'PKID
        NVC.Add("APIKey", SMSAPIKey) ' 'Guid
        NVC.Add("Message", Message) ' 'PKID
        NVC.Add("ReplyTo", am.SMSReplyTo) ' 'PKID

        'Create a new WebClient instance.
        Dim myWebClient As New Net.WebClient()
        Dim responseArray As Byte() = myWebClient.UploadValues(page, "POST", NVC)

        result = Replace(System.Text.Encoding.ASCII.GetString(responseArray), "<(.|\n)*?>", "")

The receiving page load has this code, which always returns "missing APIKey"

    nvc = Request.Form ' this is Nothing in the server; but has the nvc values in localhost
    'nvc = Request.QueryString

    Dim err As String = String.Empty

    Select Case True
        Case String.IsNullOrEmpty(nvc("APIKey"))
            err = "missing APIKey"

We are migrating about 50 GB of data from cPanel to cPanel using the migration tool.
Our test was successful and all the data was in the destination folder. However, we would like to change the DNS now and I am sure that some data will not be in the new server while the transfer was happening and definitely during the DNS propagation.

cPanel technical support recommended me to use rsync to sync the data from the old to the new server.
I am only interested to sync emails, nothing else.

Is this a simple command? Or do I need to hire someone with network skills to do it without messing up the server with the original files?

Thank you all.
Currently we have a DMZ with some external facing web servers that are only available from the outside world via port 443.  The SQL instance for the back end of this application is on a server that is in a trusted LAN with only holes poked in the firewall between the DMZ and the trusted LAN for Active Directory, SQL, DNS and some others used for a managed Antivirus client installed there.

I am under the impression that joining these web servers to the internal windows domain is less secure that if we didn't join them to the domain.  Right now I am testing a new web server that is not part of our domain and I am having trouble getting the web server to access the database on our sql server (integrated authentication) which is part of the domain.

I realize we can use sql authentication but I understand there are some risks involved there as well.  I have tried adding a local user to both servers as if both where part of a workgroup to no avail.  Any other thoughts here?

I was also contemplating doing a RODC in the DMZ (or possibly in the trusted lan and use firewall rules to direct all AD traffic to that server).  The final idea I had was setting up a new forest in the DMZ and establishing a trust relation ship between the new forest and the internal forest.

Any thoughts or experiences welcome.  Thanks!!
 We have sharepoint 2013 with 5 Web servers with 2 Load balance (F5).  We are going to implement SSL offloading to our environment. I would like to work on some detail plan to implement on QA server first.

Can you please guide me come up with some detail plan to implement?
A few days ago the authentication settings got changed against all of the applications that are hosted within a single website, and I'm trying to track down what could have caused this.  We have a top level website, with about 30 applications under it, each with their own authentication settings.  What I found was that the top level settings from the root of the site (Anonymous and WIndows Auth enabled) had been pushed down to everything else.  This caused quite a few problems as expected until I manually went in and corrected each one.  This happened on 2 different web servers, which are used to load balance the applications.  

I know that I didn't go in a change the authentication for everything, so I'm trying to determine how this happened.  We did not have IIS Configuration Auditing enabled, so unfortunately that isn't an avenue I can lean on for help.

Any ideas what could have caused this, or things I could look at to investigate?
How can i redirect with nginx? What i have isnt working.

   redirect mydomain1.com/contact-us/ mydomain2.com/contact-us/ permanent;

This is my config

server {
       listen         80;
       server_name     mydomain1.com, mydomain.com,mydomain2.com;
       return         301 https://www.$server_name$request_uri;

server {

    server_name mydomain1.com, mydomain.com,mydomain2.com;
    listen 443 http2 ssl;
    #listen 80;
    rewrite mydomain1.com/contact-us/ mydomain2.com/contact-us/ permanent;

i also tired return 301 $scheme://newdomain.com$request_uri;

    root /var/www/mydomain1.com;
    index index.php;
    server_tokens off;

    set $skip_cache 0;
    fastcgi_ignore_headers Cache-Control;


Open in new window

I have an azure app resource that is reached at mycompany.azurewebsites.net. I have a content bsaed website hosted on digital ocean and mycompany.ca. I want to redirect users to the mycompany.azurewebsites.net/login to login, but want it to show mycompany.ca/login (hiding the mycompany.azurewebsites.net).

Can i  set this masking up in nginx config on mycompany.ca server? Or is this something i need to also do on the app resource on azure?
Hello, I have a website hosted at InMotion hosting an I'm having trouble making the .htaccess rules work properly. I need rules for:

1. Force https on every page
2. Force www. when not entered
3. Hide index.php, so a page looks like this https://www.gastronegocios.com/contacto instead of https://www.gastronegocios.com/index.php/contacto

I currently have this rules, but their not working properly:

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteEngine On

RewriteBase /
RewriteCond %{HTTPS} off

RewriteCond %{HTTP_HOST} ^gastronegocios.com [NC]
RewriteRule (.*) https://www.gastronegocios.com/$1 [R=301,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?/$0 [PT,L]

Open in new window

Hello - I am running SharePoint 2016, one site collection and I have setup sites. All is working except when I attempt to share a page I have created within a site, the link in the email that is sent to users I'd like to share with, has it going to the main site URL and not the page I am trying to share.

Same with a calendar I am trying to share out...it continues to send the URL of the main site within the email rather then the link URL to calendar or page.

I really appreciate your help.
Exploring SharePoint 2016
LVL 13
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Gotta start 2019 with less stress.

I've been with Hostgator for years and never satisfied, but inertia kept me there.  A couple things recently came up and I gotta get out of there.

I pay $30 a month for their reseller package.  I have about a dozen clients static websites in there. I have the hang of how things work - cpanel and whm. i can move around to different client's cpanels when I log in as me / account owner.

Some have office 365 but some have pop / imap email with hostgator. I think that's the part that kept me from moving sooner - dealing with moving the mail somewhere else and not have them get all the old mail in their pop account, mail getting lost, etc.

1) Any recommendations for hosting companies these days?  Is what I have - reseller with cpanel and whm - common or uncommon?
2) Is moving mail a big deal? Do companies do that for you as part of the move?  Is it pretty seamless?

thank you!
Hi all.
My issue is I cannot iisreset after sharing IIS webconfig. (IIS10 / server 2016)

I get the following error message:

Attempting stop...
Internet services successfully stopped
Attempting start...
Restart attempt failed.
The service did not respond to the start or control request in a timely fashion. (2147943453, 8007041d)

This happens after exporting config from another IIS server, switching to shared configuration in IIS (to use the exported config), then changing back to non shared config.
I'm doing this through the wizards in IIS.
Wondering if anyone else has seen this or knows a better way of copying configuration from one server to another as a workaround.

Thanks very much.

We use Git to manage all of our code for our client’s projects etc.

I’m looking for a solution that will do the following:

01 - backup Git (just in case)

02 - auto backup databases for each client’s project to the same backup service

Thanks in advance for your help.
How to read real-time cancel appointment in the calendar using Exchanged server managed API
Getting below error:
microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: The specified object was not found in the store.
        at microsoft.exchange.webservices.data.core.response.ServiceResponse.internalThrowIfNecessary(ServiceResponse.java:278)
        at microsoft.exchange.webservices.data.core.response.ServiceResponse.throwIfNecessary(ServiceResponse.java:267)
        at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:165)
        at microsoft.exchange.webservices.data.core.ExchangeService.internalBindToItems(ExchangeService.java:1343)
        at microsoft.exchange.webservices.data.core.ExchangeService.bindToItem(ExchangeService.java:1378)
        at microsoft.exchange.webservices.data.core.ExchangeService.bindToItem(ExchangeService.java:1395)
        at microsoft.exchange.webservices.data.core.service.item.Appointment.bind(Appointment.java:118)
        at microsoft.exchange.webservices.data.core.service.item.Appointment.bind(Appointment.java:133)
        at com.docasap.ihub.exchangeserverengine.handler.e2d.StreamingAppointmentsHandler.notificationEventDelegate(StreamingAppointmentsHandler.java:96)
        at microsoft.exchange.webservices.data.notification.StreamingSubscriptionConnection.issueNotificationEvents(StreamingSubscriptionConnection.java:524)
I am constantly getting this error on IIS 8.5

The worker process for application pool 'XAppPool' encountered an error 'Failed to decrypt attribute 'password'
' trying to read configuration data from file '\\?\C:\inetpub\temp\apppools\XAppPool\XAppPool.config', line number '98'.  The data field contains the error code.

line 98:
          <virtualDirectory path="/Documents" physicalPath="\\server1\doc" userName="user1" password="[enc:AesProvider:KJE45afo9UsaYJXUZ/cgHEsf45seasE/93:enc]" />

A process serving application pool 'XAppPool' reported a failure trying to read configuration during startup. The process id was '7868'.  Please check the Application Event Log for further event messages logged by the worker process on the specific error.  The data field contains the error number.
I'm migrating 3 sites from Server 2003 iis6 to 2008 r2 iis7.5 using MS deploy 3.5 via the packaging method.

The sites on the source server are located on the E;: yet the destination server only has a C:

Will using the below command work? I have done a whatif and can see the following lines which to me indicates there maybe issues as E: is referenced or is that reference purely to the location of the site on the source?:

If my commands won't work, what do I need to do to make the sites go to C:\inetpub\wwwroot on the destination server?

Package creation: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:metakey
=lm/w3svc/[SITEID] -dest:package=e:\temp\[SITEID].zip > e:\temp\WebDeplo

Package Import: C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:package=c:\temp\[SITEID].zip -dest:metakey=lm/w3svc/[SITEID]  > c:\temp\WebDeploySync.log

Sample entries from log file:
Info: Adding MSDeploy.metaKey (MSDeploy.metaKey).
Info: Adding metaKey (/lm/w3svc/[SITEID]).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/ServerComment).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/ServerAutoStart).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/LogPluginClsid).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/ServerBindings).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/filters).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root).
Info: Adding child metaKey (/lm/w3svc/[SITEID]/root/Path).
Info: Adding …

Web Servers





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.