I have a complicated set up, in over my head on this one. At a paid host I have an apache server on cpanel. DOMAIN.CLOUD dedicated IP address
So this one is pointed by registrar to nameservers of my host. That is all working good.
I have a second server at another site. It has 2 virtual host folders, 2 IP addresses, and each needs to be kept separate by IP and virtual host. I have my two virtual hosts SUB1, and SUB2 and have the virtual hosts working.. using port 80 and port 81 by IP address. ipaddress1:80 and ipaddress2:81 all works right.
But I need these both vhosts to resolve to the IP alone without the port.
(1) Get this IP address http://ipaddress1 resolving to the apache virtual host “SUB2” folder
THIS NEEDS TO RESOLVE BY IP ONLY TO THAT SUB2 virtual host folder
++++++++++++++++++
ipaddress2 connects (with) port ipaddress29:81 except it needs to connect to that folder without specifying the port, just the IP.
So this is the C:/www/SUB2
http://ipaddress2 = error, not same as :81, can’t subdomain yet
http://ipaddress2:81/ = ok
THIS IS GOOD:
++++++++++++++++++
Almost there.. OK ipaddress1 connects to port 80 without specifying it :80
so that is the C:/www/SUB1/public
http://ipaddress1 = same result, ready to subdomain
http://ipaddress1:80/ = same result
If I can get BOTH working by IP address without the port 80 & 81, the subdomain pointing will not work with the port on it, it has to be an IP address only.
Then I can point
DOMAIN.CLOUD - hosted server
SUB1.DOMAIN.CLOUD to ipaddress1 - remote server
SUB2.DOMAIN.CLOUD to ipaddress2 - remote server
2 Subdomains, 2 servers, 3 IP addrsses
When I try to edit the httpd.conf my server won't start and I have to revert the httpd.comf Its over my head and i am stumped hard.