Current time: 05-03-2024, 04:14 AM Hello There, Guest! (LoginRegister)


Post Reply 
Domain Resolution
Author Message
andars Offline
Junior Member
*

Posts: 12
Joined: Apr 2007
Reputation: 0
Post: #2
RE: Domain Resolution
Edit: I guess the below really doesn't work. Now they just resolve to the new domain I entered under a reseller... sigh. I've been at this for hours.

I had to use this:

Code:
Q.my ips are resolving private to the outside (dnsreport.com report private ips instead of public ones)
There's two methods to solve this problem, i will state one now, the second one will be added later

this method consist of reinstalling VHCS with public IP, and solve apache resolving problem (when public ip is used, apache will no longer resolve domains)
first you need to remove all added users (go to vhcs2 database in mysql and see the uid in admin table)

Code:
sudo userdel vu200Xwhere X is the user number (vhcs2 will begin with 1)

remove the added groups

Code:
sudo groupdel vu200Xwhere X is the group number (vhcs2 will begin with 1)

remove the working conf files

Code:
sudo rm /etc/vhcs2/apache/working/vhcs2.conf
sudo rm /etc/vhcs2/bind/working/*
sudo rm /etc/apache2/sites-available/vhcs2.conf
sudo rm /var/cache/bind/*now you're ready to install, repeat only step 11 but use public ip this time

now proceed to edit the apache files to resolve correctly
Open /etc/vhcs2/apache/parts/{prefix}_entry.tpl where {prefix} is "als" and "dmn" and "sub" without quotes
replace

Code:
<VirtualHost {DMN_NAME}>with

Code:
<VirtualHost *>recreate reseller, etc... now

Found here: http://ubuntuforums.org/showthread.php?t=25722
(This post was last modified: 04-19-2007 03:22 PM by andars.)
04-19-2007 03:17 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Domain Resolution - andars - 04-19-2007, 08:12 AM
RE: Domain Resolution - andars - 04-19-2007 03:17 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)