Setting up a Linux web server on a non fixed ip

Hi

I want to install an web server and mail server on my home fedora server.

Postfix and the httpd service seem fairly straight forward.

Where I am lost is how to redirect my registered domain name to my non fixed home IP.

I know it can be done and am reading up on DNS servers. Where I am also lost is that the book is telling me to install a BIND DNS server. Do I need this?

I sum:

What do I need to have installed at home to redirect my registered domain name to my home server and then serve up email and my developed website now in localhost.

Thx!
Karen

If your home IP is nonfixed you need DDNS — Dynamic DNS.
Google ==> “fedora dynamic dns client”

Thanks I found a service at namecheap

From what I understand I do not need something like BIND on my computer -just a normal apache server and their service to ensure that the ip remains fixed.

It may be a fools task to try to host from home, but I think it will be fun to try :slight_smile:

You will understand everything there, everything is very simple.
It’s nice that I helped you :relaxed:

If your server beside router you need to use NAT and port forwarding.
For dynamic DNS you can use DynDNS or No-IP services.
In web-server virtual host no need to set specific address, just use *, example for apache:

<VirtualHost *:80>
ServerName yourdomain.com
DocumentRoot /var/www/html
</VirtualHost>

For testing just use /etc/hosts file:

vim /etc/hosts
your.external.i.p yourdomain.com