PDA

View Full Version : Please help - external DNS


badboyu
15th April 2009, 08:40
Hi,

I have set up Centos 5.3 with ISPConfig on a box in my local network. Redirected all ports from my router to local ip : 192.168.1.64 . Added a domain. I used zoneedit for the dns. Everything works fine.

My problem now is that I want to add another domain. Using DNS from zoneedit. How do I configure zoneedit to use my new domain. (it's the same ip for both ).

I mean :

This is for the first domain ...


View "centralgrup.ro"
Transfer domain registration
Order web hosting for centralgrup.ro


IP Addresses: Domain Name IP Address
centralgrup.ro 89.120.213.134
mail.centralgrup.ro 89.120.213.134
ns1.centralgrup.ro 89.120.213.134
ns2.centralgrup.ro 89.120.213.134
pop.centralgrup.ro 89.120.213.134
rodna.centralgrup.ro 89.120.213.134
server.centralgrup.ro 89.120.213.134
smtp.centralgrup.ro 89.120.213.134
www.centralgrup.ro 89.120.213.134

Mail Servers:
Domain Server Rank
centralgrup.ro mail.centralgrup.ro 0

WebForwards: New Domain Destination
cpanel.centralgrup.ro http://centralgrup.ro:8080/

MailForwards:

WebPark:

Nameservers:
ns2.zoneedit.com 69.72.158.226
ns8.zoneedit.com 75.125.10.187
Advanced Settings
Bulk Change DNS Records


how would I configure it for a second domain www.bbb.com ??

till
15th April 2009, 11:28
Just create a new dns A-Record for your second domain that points to the external IP address of your router.

badboyu
15th April 2009, 11:49
That is all ? How does the domain know what website to acces on my ip .. i mean server ... ?

till
16th April 2009, 12:25
That is all ? How does the domain know what website to acces on my ip .. i mean server ... ?

You have to create a website of course with that exact domain name. The internet browser sends the domain name in every request for a site so that apache knows which website shall handle the request.

badboyu
16th April 2009, 12:41
Thank you ... I will try it asap