OpenVZ Forum


Home » General » Discussions » OpenVZ Containers and ports for domains (Redirect domains by ports and containers)
Re: OpenVZ Containers and ports for domains [message #49522 is a reply to message #49521] Fri, 10 May 2013 06:16 Go to previous messageGo to previous message
pol25 is currently offline  pol25
Messages: 5
Registered: May 2013
Junior Member
Yes sorry howewer no understand this and get errors for this things , if i have one domain this domain need DNS and this DNS go to ip , for example 35.345.65.76 it´s my machine´s ip

I can have 2 containers and in each case :

Container 1 :

35.345.65.76:1080

Container 2 :

35.345.65.76:1075


In the machine i install Debian with proxmox and no have any more


In each container i have 2 CP ISPConfig and in each container i have different OS in this case Centos 6.3


When i go add domains in each CP i need add domain and for example add www.mydomain.com ok all well

Now i go to for example name.com and put the ip of my server in this case : 35.345.65.76

The domain try access to ths ip but never load the container where i put or add this domain , it´s this point where i don´t understand how i can redirect the domain in each case to container where i have the CP and until add the domain , because into DNS and A records of domains i can´t put 35.345.65.76:1080 . impossible put port - , etc , it´s this point where i can´t understand if it´s possible appoint domain to container or different containers with the same ip but with other port - port of container - , many people into OVH tell me this it´s impossible and i need ipfailover

I understand sure there is method for when domain go to ip this ip can detect domain and redirect in mode automatic or manual i don´t know but i supose it´s possible because really all containers use NAT and use private IP


Sorry for this long text and thank´s for all possible help at this point i can´t progress , regards

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ-Container does not restart/reboot
Next Topic: OpenVZ precreated template root compromised ?
Goto Forum:
  


Current Time: Fri Jul 04 01:50:46 GMT 2025

Total time taken to generate the page: 0.02540 seconds