HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Ubuntu 8.10 Perfect Server Question (http://www.howtoforge.com/forums/showthread.php?t=28712)

andydurham 15th November 2008 10:26

Ubuntu 8.10 Perfect Server Question
 
Hi

Apologies if theres another post on this that ive missed but im a little confused. My ISP wont provide a static IP address for me so Im having to use dyndns site name. However I'm following this guide

http://www.howtoforge.org/perfect-server-ubuntu-8.10-p3

When it gets to this part:

then edit /etc/hosts. Make it look like this:

vi /etc/hosts

127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1

Im not sure what to put there. I called my server ubuntu, my static ip address for the server is 192.168.1.150 and my dyndns account for example is testserver.linuxhome.net

How do I set this up? can anyone help please? I'm a little confused since this is my first ever server setup and I don't want to get it wrong.

Your help would be greatly appreciated.

Thanks

Andy

_X_ 15th November 2008 21:31

closest solution to your problem is here:
http://howtoforge.com/forums/showthr...hlight=dynamic


set your local IP for testserver.linuxhome.net that will be fixed (static)

in ISPConfig set in:
Management/Server/Settings>DNS
Default Ns1: and Default Ns2: to dns servers of you ISP provider.

hope this will solve the problem.

you can always later change ip in /etc/apache2/vhosts/Vhosts_ispconfig.conf

192.168.0.100:80 to *:80

if you are using GoDaddy:
http://www.howtoforge.com/ispconfig_dns_godaddy

zcworld 20th November 2008 02:35

as long as you open the port on ur router to the IP addrress that is hosting the site
the LAN IP address doesn't matter
as long as it DNS name points to you WAN IP address and the port 80 on your router goes to your WWW box its all good

as far as i know


All times are GMT +2. The time now is 06:01.

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