Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Feb 06, 2015 9:38 pm 
Offline
Senior Newbie

Joined: Sat Jan 17, 2015 3:17 pm
Posts: 15
Hi All,

I have 2 Linode servers: 1 web server and 1 database server. I have followed the Linode guides, currently Private IP communication via ping is working. So the Web and Database server can ping each other on their respective Private IPs.

I would like to validate that the Web and Database Servers are using their Private IP to communicate but I am not sure how to do this. Specifically, I want to make sure that any requests from the Web Server to the Database Server uses the Private IP.

Would this be achievable if I modified the /etc/my.cnf file? Removing the hash from the Bind-Address line, and inserting the Database Server's Private IP?

Please let me know if you have steps that I can follow to validate and configure the Private IP communication.


Database Server /etc/hosts File

127.0.0.1 localhost.localdomain localhost
104.237.146.33 db33.domainname.com db33
127.0.0.1 localhost 192.168.177.233 mysql.domainname.com mysql 192.168.176.211 domainname.com
192.168.177.233 db33
192.168.176.211 ws33
2600:2c03::f01c:91ff:fe84:ffde db33.domainname.com db33


Web Server
Fedora release 21 (Twenty One)
Apache/2.4.10 (Fedora)
PHP 5.6.4

Database Server
Fedora release 21 (Twenty One)
mariaDB 10


Thanks,

Ray


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group