View Single Post
  #7  
Old 8th August 2011, 21:26
Salital Salital is offline
Member
 
Join Date: Jul 2011
Posts: 48
Thanks: 5
Thanked 0 Times in 0 Posts
Default

Hi all,

I have now two questions and I try to answer to second one If this is no correct I apologize in advance

1. If I want to use Ispconfig and I registered the websites on Godaddy to redirect on my private home websever I need two ip-address?

2. I don't have two ip-address and I register the website on Godaddy I can't use Ispconfig?

If the answer at point 2 is yes then I can use Ispconfig to use a website registered on Godaddy with only an ip-address I have to simply follow these following steps:

a. Create a DNS RECORD from the back end of Ispconfig (I don't want to change DNS records)

Template: Default
Server: server1.mywebsite.com
Client: client1
Domain: mywebsite.com
IP Address: <IP-ADDRESS of the website. ping www.mywebsite.com>
NS 1: ns1.mywebsite.com
NS 2: ns2.mywebsite.com
Email: info@mywebsite.com

b. I modify my client PC's hosts file.

In my home webserver I have 3 host files

/etc/hosts
/etc/resolv.conf
/etc/bind/named.conf

I decided to change /etc/resolv.conf (why? 'cause I red nameserver in it)

# Generated by NetworkManager
nameserver 192.168.1.254, ns1.mywebsite.com, ns2.mywebsite.com

After I restart my home webserver when I write on the browser www.mywebsite.com I have to see the website that I have on my webserver in the following directory:

/var/www/mywebsite.com/web

I made the a. and b. changes but I can't see my folder website. I don't have any idea why this solution doen't work

I'm looking for another solution & bye,

S
pd. mybe when here talk about vhost file is this? /etc/apache2/sites-enabled/mywebsite.com.vhost

Last edited by Salital; 8th August 2011 at 21:40.
Reply With Quote