The easiest way would be to add your domain to the
/etc/hosts file by appending it to the loopback IP or a private IP.
For example:
Code:
127.0.0.1 mydomain.pvt mydomain
If you want to use a private IP, you will have to implement an IP alias.
Take a look at this small HowTO, it will show you two methods for implementation.
I am not sure which method Slackware uses (my guess is the old one), try both.
http://www.troubleshooters.com/linux/ipalias.htm