amazon web services - AWS CPANEL WHM - IP Address and DNS Settings on new accounts -


i've (hopefully) set cpanel on aws clustering following instructions: https://blog.cpanel.com/part-1-how-i-built-a-cpanel-hosting-environment-on-amazon-aws/

i've been using cpanel/whm on dedicated server few years before set new cpanel installation on aws. issues comes how new accounts set differently on dedicated server vs aws way.


my first issue:

when created new account on dedicated whm, provided ip addresses server farm assigned newly created accounts. once assigned, can access site either ip or domain name. new aws way, there's no info in tutorials how obtain new ip addresses. tried adding new local ip 10.0.0.30 (because says it's in nat mode , use local ip) , assigning dedicated ip newly created accounts don't understand how can access site through ip since local ip. how access domain through custom ip , domain did before? must missing fundamental.


my second issue:

on dedicated whm after created new account, typically go dns functions -> edit dns zone , edit zone customize nameserver so:

mynewdomain.com ns1.mynewdomain.com ns2.mynewdomain.com

anothersite.com ns1.anothersite.com ns2.anothersite.com

thirdsite.com ns1.thirdsite.com ns2.thirdsite.com

and in register add these custom nameservers register , point them dedicated ips of each domain. aws way, way able set use new cluster nameservers nameserver all accounts in new whm installation.

like this:

mynewdomain.com ns1.awsnameserver.com ns2.awsnameserver.com

anothersite.com ns1.awsnameserver.com ns2.awsnameserver.com

thirdsite.com ns1.awsnameserver.com ns2.awsnameserver.com

is correct / way can set accounts through set up? there way have custom nameservers names did in dedicated whm?

in case, have dns server outside of amazon i'm not sure answer question might lead somewhere.

first figure out public ip can:

  1. go aws console , @ instance detail of server.
  2. look "endpoint". points public address can ping or nslookup find out ip is.

however, aws not recommend hard-coding public address change. did instead create cname in dns points "endpoint".

i hope helps.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -