nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

entry in /etc/hosts

This is a discussion on entry in /etc/hosts within the Shell scripting forums, part of the Development/Scripting category; Hello, i am searching the way to handle virutalmin/webmin such that whenever i create a virtual server an entry is ...


Go Back   nixCraft Linux Forum > Development/Scripting > Shell scripting

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-09-2008, 11:21 PM
Member
User
 
Join Date: Jan 2007
Posts: 47
Rep Power: 0
zafar466
Default entry in /etc/hosts

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
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Permanent Route entry in RHEL 5 santoshdhumal Networking, Firewalls and Security 1 03-17-2008 11:12 PM
ssh many hosts , su - using different passwords newbewie Shell scripting 3 09-25-2007 06:50 PM
/etc/hosts file ricc Linux software 1 05-08-2007 08:32 PM


All times are GMT +5.5. The time now is 03:03 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36