Index: [Article Count Order] [Thread]

Date:  Fri, 23 May 2008 11:15:16 +0200
From:  "Steffan" <snoord (at mark) planet.nl>
Subject:  [coba-e:13055] Re: Web Server Alias not deleting in codb
To:  "'Steffan'" <snoord (at mark) planet.nl>, <coba-e (at mark) bluequartz.org>
Message-Id:  <048801c8bcb5$83b04950$7800000a@pc11>
In-Reply-To:  
References:  <4831D9E5.4020803 (at mark) virtbiz.com> <004501c8ba8a$fb689f10$0101a8c0 (at mark) systemax> <01fd01c8bb22$a23df230$7800000a (at mark) pc11> <200805211906.57183.bq (at mark) solarspeed.net> <035a01c8bb6e$f637d530$7800000a (at mark) pc11> <48347867.60508 (at mark) yourwish.nl> 
X-Mail-Count: 13055

never mind
it was a stupid mistake
the site was pointing to a old ip 
what was another server holding the old dite


Steffan



-----Oorspronkelijk bericht-----
Van: Steffan [mailto:snoord (at mark) planet.nl] 
Verzonden: vrijdag 23 mei 2008 11:04
Aan: 'coba-e (at mark) bluequartz.org'
Onderwerp: RE: [coba-e:13023] Re: Web Server Alias not deleting in codb

like i pointed out
that's the problem
I deleted the webalias so the webalias should point to the first site
but it isn$BCU(B
I checked directly to the ip and see another site
if I setup the site in conf.d no effect
I have no clue what this can be 

so I didn$BCU(B deleted the virtual site only the alias

Steffan 

-----Oorspronkelijk bericht-----
Van: Your Wish BlueQuartz [mailto:bluequartz (at mark) yourwish.nl] 
Verzonden: woensdag 21 mei 2008 21:31
Aan: coba-e (at mark) bluequartz.org
Onderwerp: [coba-e:13023] Re: Web Server Alias not deleting in codb

Hi Steffan,

When you delete a vhost but the DNS is still pointing to your server it 
will show the first vhost you created on your server.

--
Nick

Steffan schreef:
> thanks seems that the alias that i see there was the email alias
> when I removed that the name was gone
> but still the site keeps redirecting to the main site
> it was  a .tv site that points to a .nl site
> I did a 
> grep -R domain.tv /etc/httpd/*
> but nothing there
> 
> so I don$BCU(B know why the server keeps serving the name 
> it$BCT(B a shared ip so the first site should come up if nothing is created
> looks like there is somewhere a internal db that keeps the webalias or
> something
> (I did a httpd restart) even did a reboot
> 
> 
> 
> Steffan
> 
> 
> 
> -----Oorspronkelijk bericht-----
> Van: Michael Stauber [mailto:bq (at mark) solarspeed.net] 
> Verzonden: woensdag 21 mei 2008 19:07
> Aan: coba-e (at mark) bluequartz.org
> Onderwerp: [coba-e:13012] Re: Web Server Alias not deleting in codb
> 
> Hi Steffan,
> 
>> Yesterday i added e web server alias to a site in the gui
>> now I deleted the alias
>> it is removed from the gui but not from the server
>> I re added the virtual site saved and delete and saved but no luck
>> it keeps showing up in /usr/sausalito/codb/objects/XX/.fqdn
>> if I deleted there it comes back
>>
>> I have no idñÆ how to get rid of it
>> any ideas ?
> 
> Do not (like in: NEVER :o) modify files in /usr/sausalito/codb/ directly
on 
> the command line. That may cause problems in the long run.
> 
> Use CCEclient instead:
> 
> /usr/sausalito/bin/cceclient 
> 
> Lets say your object has the object ID 20, is a vsite and you want to
change
> 
> the webAliases of it.
> 
> First run "get <OID>" to see if it's really the right object and to see
what
> 
> data it contains:
> 
> get 20
> 102 DATA NAMESPACE = ""
> 102 DATA webAliases = "&example.com&"
> 102 DATA userwebsDisabled = "0"
> 102 DATA basedir = "/home/.sites/148/site6"
> 102 DATA site_preview = "0"
> 102 DATA CLASSVER = "1.0"
> 102 DATA mailAliases = "&example.com&"
> 102 DATA CLASS = "Vsite"
> 102 DATA siteAdminCaps = ""
> 102 DATA domain = "example.com"
> 102 DATA ipaddr = "192.168.11.1"
> 102 DATA maxusers = "20"
> 102 DATA emailDisabled = "0"
> 102 DATA volume = "/home"
> 102 DATA dns_auto = "0"
> 102 DATA name = "site6"
> 102 DATA suspend = "0"
> 102 DATA OID = "20"
> 102 DATA fqdn = "www.example.com"
> 102 DATA mailCatchAll = ""
> 102 DATA hostname = "www"
> 201 OK
> 
> To add a new webAlias named "example.com" you'd do this:
> 
> set 20 webAliases = "&example.com&mail.example.com&"
> 
> To remove all webAliasses you'd do this:
> 
> set 20 webAliases = ""
> 
> If CCEclient gives you an error, report that error back, because that may
> tell 
> us why your transaction didn't work when you attempted it through the GUI.
>