How to run IIS 7 and XAMPP on the same machine and configure SSL certificate issued by CloudFlare on Apache server

How to run IIS 7 and XAMPP on the same machine and configure SSL certificate issued

by CloudFlare on Apache server


Hi viewers in this tutorial I will show you how you can setup the XAMPP on a machine

where the IIS server is also running with SSL setup. 


Steps

---------


01.First Install the XAMPP server on the same machine where your IIS server is running. You can google and download the XAMPP latest version and install on the Machine. This machine can be window 2008 or any latest window Server.


02.Once you have finished the XAMPP installation then you need to do the first setting changes which are the default port for http (80) and https (443) for your XAMPP server. As you know you can’t run two web servers on the same port numbers. 


03.So open the XAMPP control Panel and then click on Config Button -> Service and port setting -> On Apache Tab change the Main Port and SSL port to 8080 and 8443. As shown below screenshot



Very Important Note: If you are using the SSL certificate from Cloudflare and you have enabled the proxy for setting for your DNS record to hide the original IP address of the web server then you have to use some predefined ports by cloudflare. Since by default, Cloudflare proxies traffic destined for the HTTP/HTTPS ports listed below.


HTTP ports supported by Cloudflare:

80

8080

8880

2052

2082

2086

2095

HTTPS ports supported by Cloudflare:

443

2053

2083

2087

2096

8443


So we have chosen the port 8080 for http and port 8443 for https.If you don’t choose your custom port from the above list then you will not be able to access your website your FQDN when the proxy is enabled on your DNS Records as shown below 



04.Now open the httpd.conf file by click on Config Button -> Apache (httpd.conf) as shown below screenshot


  1. And then make the changes in the httpd.conf file you need to change the Listen port and ServerName setting as shown below 



And change the ServerName as shown below 



06. Also make insure that the following line in uncommented as shown below


07. Now you have to make changes in the httpd-ssl.conf file so select the config Button -> httpd-ssl.conf file as shown below




Now you have make the following changes in this files as shown below

  1. This step is for configure the ssl certificate if you are not going to setup the ssl then you can skip this step.Now Create a Folder in location C:\xampp\apache\ssl and then copy your certificate hear you need three file as mentioned below 

  1. Your ssl certificate e.g example.com.cer

  2. Your ssl certificate key e.g. example.com.key

  3. Your ssl certificate CA root file e.g. cloduflare_origin_root.cer


Please see the below screenshots



08. Okay once you completed all the above steps now it’s time to start our Apache server on XAMPP and if everything goes well you can see that you Apache server is started without any issue and run on the port 8080 and 8443 as shown below


That’s it!!! I hope you like this tutorial please share this tutorial with others also and have a nice day!!!.




Share:

How to allow traffic only through proxy service in pfsense Part-5

 

Hi viewers!!!!!! in this tutorial I'll show you How to allow traffic only through proxy service in pfsense   Part-5

Please watch the following video tutorial at the end for all steps

 

 

 




 #pfsense

#firewall

#howto

#setup

#proxy

#traffic

Share:

How to change the Interface address and enable DHCP on Pfsense 2.3.2 Part-4

Hi viewer!!!! in this tutorial I'll show you how to change the Interface address and enable DHCP on   Pfsense 2.3.2 Part-4

Please watch the following video tutorial at the end for all steps

 

 

 

 


 


 #pfsense  #proxy   #firewall  #howto

Share:

How to Configure Squid Proxy server and Proxy filter in pfsense 2.3.2 to Filter http traffic Part-3

Hi viewers!!! in this tutorial I'll show you how to Configure Squid Proxy server and Proxy filter in pfsense 2.3.2 to Filter http traffic Part-3

 
So Please watch the following video tutorial at the end.





#firewall  #http  #proxy  #pfsense

Share:

Tour of Pfsense 2.3.2 GUI Interface Part-2


 Hi viewers!!!!!!!!! in this video I'll show the Pfsense GUI Interfaces and GUI options. In this video tutorial I'll show you the all options available in Pfsense. 

So please watch the following video for more info.

 

 

 

 


 

#pfsense #gui #interface #firewall #Tour 

Share:

BGP (Border Gateway Routing Protocol) Routing Protocol Introduction in Detail



Hi viewers!!!! in this tutorial I'll Introduce to all of you the fame of Hall Routing Protocol BGP (Border Gateway Routing Protocol). In this tutorial I'll explain in detail for why we need BGP and where should be need to use BGP.  




Please watch the following tutorial video to know about BGP.



#BGP #Protocol #Basics #CCNA #CCNP #routing #cisco #juniper

Share:

How to create and connect to Linux instance in Google Cloud Part-3

 

Hi viewers!! in this tutorial I'll show you how to create and connect to Linux instance in Google Cloud Part-3

Please watch the following video tutorial for steps by steps procedures.






#tutorial #google #cloud #googlecloud #linux #guide #howto #stepsbysteps #learning


Share:

How to create the Window virtual machine in Google cloud Part-2

 

Hi viewers!!! in this tutorial I'll show you How to create the Window virtual machine in google cloud Part-2

So after registering on Google Cloud Plastform the next thing we all do is get our hand dirty with some testing . So in this tutorial I'll show you how we can lunch our first window instance on Google Cloud Platform. 



So please view the below video tutorial for steps by steps procedure



#howto #tutorial #guide #stepsbysteps #google #cloud #googlecloud


Share:

How to register for Google Cloud free service Part-1

 

Hi viewers !!! in this tutorial I'll show you how to register for Google Cloud free service Part-1

So what is the Google Cloud?

Google Cloud Platform, offered by Google, is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end-user products, such as Google Search, Gmail, file storage, and YouTube


So let's start the journey of Google Cloud please watch the below video tutorial for steps by steps instruction 



#google #cloud #setup #stepsbysteps #tutorial #guide #googlecloud #howto


Share:

How to install Pfsense 2.3.2 with Squid Proxy and Squid Guard in Vmware Part-1

 

Hi viewers!!!! in this tutorial I will show you How to install Pfsense 2.3.2 with Squid Proxy and Squid Guard in Vmware Part-1.

So what is pfsense?

The pfSense project is a free network firewall distribution, based on the FreeBSD operating system with a custom kernel and including third party free software packages for additional functionality. pfSense software includes a web interface for the configuration of all included components.


So lets explore the pfsense please watch the below video tutorial till the end



#howto #stepsbysteps #guide #pfsense #tutorial #firewall #proxy #vmware

Share:

How to resolve the 2 TB external hdd not recognize in Window xp


Hi!!!!!! in this tutorial I'll show you how to resolve the 2 TB external hdd not recognize in Window xp. Hi viewer sometime you need to mount the Larger size USB drive to your window xp but due to some technical limitation window xp does not recognize the USB drive hence in this video tutorial I'll show you how to fix this issue.

So please see the below tutorial for steps by steps instructions.






Share:

Steps by Steps How to run sysprep on window server 2008 R2


Hi viewers!!!! in this tutorial I'll show you how to run sysprep on window server 2008 R2. Sysprep (System Preparation) prepares a Windows installation (Windows client and Windows Server) for imaging, allowing you to capture a customized installation. Sysprep is part of the Windows image, and is used during audit mode.




Please see the below tutorial for all steps by steps instructions


#howto #tutorial #sysprep #window #window server 2008 #2008 #R2

Share:

How to delete the 0 byte file in window 10

Hi viewers!! sometime you may face a vary weird issue on window 10 when you try to delete a file with 0 bytes so in this tutorial I'll show you how we can delete these type of file in a step by step manner. Please follow the video tutorial as showing below  
Share:

WELCOME TEXT

Welcome !!! viewers and thank you to visit my blog noteoftech this blog will help you to find the resolution of many tech related issue and also very useful tech related tutorial. So please don't forget to visit my blog on daily basis...and please bookmark this page also. So enjoy this blog and have a nice day!!!!.

About Me

Find Us On Youtube

Hi viewers!!! you can find other useful tech tutorial on our Youtube Channel KonwItFree Please click below to visit our channel

Popular Posts

Powered by Blogger.

Recent Posts

PAGES

Archive

Labels

AWS (7) CCNA (2) CCNP (2) cisco (2) Cyberoam (1) eve-ng (2) Firewall (5) googlecloud (3) Juniper (1) MACOS (1) Mint OS (2) Openldap (5) oraclecloud (6) other (15) pfsense (5) securecrt (1) Sophos (3) Ubuntu (9) Vmware (9) VPN (1) Window (5) Window10 (9) WIndow7 (4) WinServer (2) WinXP (1) xubuntu (2)

Labels