HI Gil.

The default behaviour of PE when attempting to access the console on Port 
80 (http) is to redirect to port 443 (https) the reason for this is the 
Puppet console does not actually serve on Port 80, part of this is the 
built in NGINX instance rewrites the URL.
To avoid this you could go directly to  https://54.100.1.200 
<https://www.google.com/url?q=https%3A%2F%2F54.100.1.200&sa=D&sntz=1&usg=AFQjCNHlKvAFuUDrJOwxyjQSCHk1IlqnLg>

Or you can reconfigure the rewrite url  

https://puppet.com/docs/pe/2018.1/config_console.html#task-6419

or disable the redirect entirely: so you must fo to HTTPS:

https://puppet.com/docs/pe/2018.1/config_console.html#disable-https-redirect

Do you have an active PE licence? if so you can reach out to Puppet Support 
for this sort of thing.

Thanks

On Thursday, April 4, 2019 at 5:12:41 PM UTC+1, Gil Motta wrote:
>
> Hello All,
>
> I am a beginner with PE.
>
> I created an Ubuntu 18.04 VM on Amazon AWS.
>
> I have the public IP address as 54.100.1.200 and the public name as 
> ec2-54-100-1-200.compute-1.amazonaws.com
>
> I have the local server name as 'ip-172-26-6-65.ec2.internal'
>
> from a remote location, I tried connecting to the console so I typed:
>
> http://54.100.1.200 
>
> and every time it gets redirected to: 
>
> httpS://ip-172-26-6-65.ec2.internal 
>
> and then an error.
>
> this 'ip-172-26-6-65.ec2.internal' cannot be resolved as it is not on the 
> Internet. It is NOT public.
>
> I need help telling the PE to use the Static IP 54.100.1.200 when 
> redirecting so it looks like https://54.100.1.200
>
> or using the AWS public name 
> https://ec2-54-100-1-200.compute-1.amazonaws.com
>
> but I don't have a clue how to do this.
>
> I also would like to include an alt DNS name as NH.cargohold.net as I own 
> that domain.
>
> So I can later tell my agents to use either the AWS name or my 
> NH.cargohold.net.
>
> I have been struggling with PE for 5 days, the add said it would be done 
> in 20 minutes but PE is not plug and play.
>
> I will give you some BTC or LTC for helping me with this and 
> successfully connecting my two remote agents as a template.
>
> If you send an email please mention PUPPET in the subject.
>
> Thanks a lot,
> Gil Motta
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/56fdf9d7-9632-4535-8144-bfbe192e82ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to