AWS + WHM + ROUTE 53 Works ?
Hi guys,
I have a server setup with WHM but wanted to move it to AWS, therefore, I am trying to configure it first on trial before moving. After I started facing this problems I found this tutorial from a cpanel blog:
[url=http://blog.cpanel.net/part-1-how-i-built-a-cpanel-hosting-environment-on-amazon-aws/]Part 1: How I Built a cPanel Hosting Environment on Amazon AWS | cPanel Blog
[url=http://blog.cpanel.net/part-2-how-i-built-a-cpanel-hosting-environment-on-amazon-aws/]Part 2: How I Built a cPanel Hosting Environment on Amazon AWS | cPanel Blog
[url=http://blog.cpanel.net/part-3-how-i-built-a-cpanel-hosting-environment-on-amazon-aws/]Part 3: How I Built a cPanel Hosting Environment on Amazon AWS | cPanel Blog
However, those steps include the creation of a cPanel DNSONLY instance. On my configuration, I was using Route 53 (AWS Service) to serve as DNS. I was able to setup WHM and almost everything works, as it should be when I create a new cpanel account I am able to use the FTP Service, mail etc but I cannot access the webpage using the account domain if I try to access it I am redirected to the default cgi-sys page, the domain pings the proper ip since its configured on Route 53 but WHM doesn"t point it to the account.
The server is properly configured to be a NAT server and I am able to verify it on Show or Delete Current IP Addresses but it also trys to map the public ip as it is a local IP (check screen shot) .vB maybe that"s the problem?
Thanks in advance for the support.
Tiago
-
Hello :) In Web Host Manager, under "List Accounts", does the IP address assigned to the account match the IP address the domain name is pointing to at it's DNS host? Note that you could try rebuilding the Apache configuration file: /scripts/rebuildhttpdconf
Thank you.0 -
[quote="cPanelMichael, post: 1673621">Hello :) In Web Host Manager, under "List Accounts", does the IP address assigned to the account match the IP address the domain name is pointing to at it's DNS host? Note that you could try rebuilding the Apache configuration file: /scripts/rebuildhttpdconf
Thank you.
Hi there, Yes the ip there matches the is the same ip that i get when i try to ping the domain. Also the FTP account works if i try to access using the domain and the account user and pass. But when i try to access the webpage it doesn't work. I've tried to rebuild APACHE as you suggested and it didn't work. That was the output tho. info [rebuildhttpdconf] Missing IP for domain localhost.localdomain, using 172.31.19.124 info [rebuildhttpdconf] Missing ServerName for domain localhost.localdomain, using localhost.localdomain info [rebuildhttpdconf] Missing port for domain localhost.localdomain, using 80 info [rebuildhttpdconf] Missing user for domain localhost.localdomain, using nobody info [rebuildhttpdconf] Missing owner for domain localhost.localdomain, force lookup to root info [rebuildhttpdconf] Missing group for domain localhost.localdomain, using nobody Built /usr/local/apache/conf/httpd.conf OK Thanks one again, Tiago0 -
Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. 0 -
[quote="cPanelMichael, post: 1675282">Feel free to open a support ticket so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.
I"ve submitted a support ticket. Thanks for the support once again Your Request id is: 51619430 -
To update, it looks like this issue was resolved after rebuilding the DNS configuration file via: /scripts/rebuilddnsconfig
Thank you.0
Please sign in to leave a comment.
Comments
5 comments