LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Virtual Hosts with Dynamic IP and dyndns.org (https://www.linuxquestions.org/questions/linux-networking-3/virtual-hosts-with-dynamic-ip-and-dyndns-org-215949/)

lexton 08-10-2004 05:09 PM

Virtual Hosts with Dynamic IP and dyndns.org
 
Hi all,

I trying to setup Virtual Hosting with FC 1. I have a DSL connection that has a dynamic IP. I have setup IP based Virtual Hosting in Apache 2.x.x

I have setup a virtual host on port 8080 and it works fine with an IP address. For example I can go to xx.myip.xx:8080 and the virtual host comes up. However I want to be able to associate a hostname with this virtual ip host. The problem is that my DNS is handled by dyndns.org. So how would I map my DNS to my virtual IP host? Does anyone else have a setup similiar to this? Can I setup the virtual host DNS configuration on my box and still have dyndns.org handle my main domain?

Or is it even feasible to run my own DNS server and get rid of dyndns.org - even though my IP is dynamic?

mosherben 08-11-2004 04:06 AM

all of that sounds greek to me but I think I know what you are asking about. I host 4 different websites on my red hat machine. Do you have more than 1 site you want to host?

Anyhow, first off you need to edit httpd.conf and edit section 2 'Main Configuration'. You would need to edit the webmaster email address, along with giving the hostname.. this will be mysite.dyndns.org and setting the listening port to 8080. It seems like you have done this already.

If you need to add a virtual host then post back here if you're not sure how to do this.

Re-phrase what you want.:)


All times are GMT -5. The time now is 07:29 AM.