So what im doing is actually in php, but just wanted to know whats the working logic of what im trying to do. I currently have 2 servers(virtual machines). i have a php file in ubuntu server that calls some other files on the windows server and vice versa. as of now, i am able to call the files just fine. the problem im having is the ip changes every time i reboot the machines(duh;). so i have to manually go change the ip address every time in my php files for them to find the other server. is there a way that each server gets the ip of the other automatically so i dont have to do it manually?. I hope my question was clear.any help is greatly appreciated. thanks.
UberJoker 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.