AnsweredAssumed Answered

how to configure apache httpd and web agent on AWS (Linux)

Question asked by yoshio.katayama Employee on Dec 25, 2018
Latest reply on Dec 28, 2018 by Pete_Burant

I've installed and configured a httpd and a web agent in VPC on AWS.

All wok fine in VPC, using all private IP addresses.

 

Now I tried to access the same protected content from internet (external address),

and I got either not authorized message or login box looping.

 

I did not configure DNS so the FQDNs of httpd are all default value - 

   ip-nn-nn-nn-nn.ap-northeast-1.compute.internal

   ec2-NN-NN-NN-NN.ap-northeast-1.compute.amazonaws.com

 

Accessing httpd + wa as ip-nn-nn-nn-nn.ap-northeast-1.compute.internal succeeded

but accessing httpd + wa as ec2-NN-NN-NN-NN.ap-northeast-1.compute.amazonaws.com

never succeeded.

 

At this moment, the following are all default.

   /etc/hosts

   ACO

   httpd.conf

 

How should I configure in this scenario?

 

 

My environment:

 - CentOS 7.5.1804 on AWS

 - httpd was build from source code (2.4.25 with apr, apr-util)

 - using ca-wa-12.52-sp01-cr09-linux-x86-64.zip

 - Policy Server 12.8

 

Thanks,

Yoshio

Outcomes