entry in /etc/hosts

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
zafar466
Lance Naik
Posts: 48
Joined: Sat Sep 30, 2006 1:50 pm

entry in /etc/hosts

Postby zafar466 » Mon Jun 09, 2008 9:58 pm

Hello,

i am searching the way to handle virutalmin/webmin such that whenever i create a virtual server an entry is made in the /etc/hosts file and when the server is deleted the entry in the /etc/hosts file is deleted

i have been trying to change some code in the create-domain.pl scripts that are executed when a virtual server is created .
but i have not been able to do that
please give some help in this regard

Thanks

LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re: entry in /etc/hosts

Postby LinuxFreaK » Thu Jun 12, 2008 8:01 am

Dear zafar466,
Salam,

zafar466 wrote:i am searching the way to handle virutalmin/webmin such that whenever i create a virtual server an entry is made in the /etc/hosts file and when the server is deleted the entry in the /etc/hosts file is deleted

i have been trying to change some code in the create-domain.pl scripts that are executed when a virtual server is created .
but i have not been able to do that
please give some help in this regard


What you want to achieve ?

Best Regards.
Farrukh Ahmed

AamirAkbar
Lance Naik
Posts: 33
Joined: Mon Sep 09, 2002 12:53 am
Location: Islamabad
Contact:

Postby AamirAkbar » Mon Mar 22, 2010 2:31 pm

Wow
Aamir(MS iiu islambad.)
Back Office Engineer
http://www.nsn.com/
(+ 92 345 200 1132)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 3 guests