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