HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Using a different DNS server with Dynamic DNS (http://www.howtoforge.com/forums/showthread.php?t=4223)

CombatGod 11th May 2006 08:11

Using a different DNS server with Dynamic DNS
 
Well I have a 2 part problem. I am using 1&1 DNS services for my DNS server. However, I set up the site and am having a problem as to how I should set up DNS service and where it should point to.

For example I have a site I want: www.mybadasssite.com I set it up in ISPConfig now I'm confused as to where my DNS should point www.mybadasssite.com (just an example). Should I point it to the folder in which the site is contained on my server?

Also, how should I deal using Dynamic DNS? Should I point the DNS of my choice only directly to the IP of my router?

This is my current setup:

My server is set up for the IP 192.168.1.100 I have all my ports on my router opened to 192.168.1.100. I have a Dynamic Address of example.dyndns.com All my settings are set for my network IP address. I can't use my outside address because it's dymanic.

I've look everywhere for help on this and haven't found anything on how to deal with Dynamic IPs and webhosting.

My main problem is PHP is not turned on for the websites I create. Mainly becaue I have my DNS provider point to the folder in which the website is contained. Example: www.mybadasssite.com the DNS points to example.dyndns.com/www.mybadasssite.com/web/index.html where the website files are stored on my server.

However this way it does not enable PHP to be used.

Any help would be greatly appreciated or links to where I can find more info and figure it out myself.

I'm new to ISPConfig so any info provided would be greatly appreciated.

falko 11th May 2006 17:43

Quote:

Originally Posted by CombatGod
For example I have a site I want: www.mybadasssite.com I set it up in ISPConfig now I'm confused as to where my DNS should point www.mybadasssite.com (just an example). Should I point it to the folder in which the site is contained on my server?

DNS records don't pont to folders, they point to IP addresses. You must point the DNS records for www.mybadasssite.com to your router's public IP address.

As dynamic IP addresses are not ideal for web hosting, have a look here:
http://www.dyndns.com/services/dns/custom/features.html

As soon as you get this working, your PHP problem will be gone (it's related to this).


All times are GMT +2. The time now is 02:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.