Jump to content
Welcome to our new Citrix community!

Simple Content Switching Setup


Recommended Posts

Hi Experts,

 

I have a very simple Content Switching setup without any authentication involved.

ddc.citrixlab.com and dc.citrixlab.com are direct hostname based IIS pages.

On the external setup - both ddc.citrixlab.com and dc.citrixlab.com point to 10.2.2.130.

image.thumb.png.211d85b91788272c2d579d86cc83ad2d.png

 

and Below are the configuration -

 

add server ddc.citrixlab.com ddc.citrixlab.com
add server dc.citrixlab.com dc.citrixlab.com

add service dc.citrixlab.com dc.citrixlab.com HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp OFF -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP YES
add service ddc.citrixlab.com ddc.citrixlab.com HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp OFF -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP YES

add lb vserver lb_ddc HTTP 10.1.1.160 80 -persistenceType NONE -cltTimeout 180
add lb vserver lb_dc HTTP 10.1.1.161 80 -persistenceType NONE -cltTimeout 180
add cs policy CSPOL_DDC -rule "HTTP.REQ.HOSTNAME.EQ(\"/ddc.citrixlab.com/\")" -action CSACT_DDC
add cs policy CSPOL_DC -rule "HTTP.REQ.HOSTNAME.EQ(\"/dc.citrixlab.com/\")" -action CSACT_DC

add cs vserver CS_vserver SSL 10.2.2.130 443 -cltTimeout 180
bind ssl vserver CS_vserver -certkeyName wildcard

bind cs vserver CS_vserver -policyName CSPOL_DDC -priority 100
bind cs vserver CS_vserver -policyName CSPOL_DC -priority 110

=======

When I access either https://ddc.citrixlab.com or https://dc.citrixlab.com externally I get the below error. But when I access the Virtual IPs(10.1.1.160 or 10.1.1.161), I can access the web pages

image.thumb.png.6a6a2c6e386f48c5a72e9d3235fff9c2.png

 

I feel, I am missing something very obvious. Kindly help.

 

Thanks in advance.

Monty


 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...