TurnKey Linux Virtual Appliance Library

Wordpress Appliance, Change so can browse by Hostname

neil_5's picture

I have recently Installed a Wordpress Apliance on a PC, So that one of my Clients can create an Intranet System with it. 

I am sorry if this has been asked before, but is is possible to change the name so that they can access there Intranet via Name rather than IP Address.





Alon Swartz's picture

DNS records or hosts file

If this is just for one person to access, you could configure their hosts file to point to the wordpress appliance. In which case I would recommend configuring it to use a static IP. But this is error prone and not scalable at all - but will work.

The better alternative is to setup DNS records, either locally or on the internet depending on your use case. If you have internet access you could use TurnKey Domain management & Dynamic DNS.

flippmedia's picture

This is going to be a local

This is going to be a local Intranet so really I just want something Simple

Jeremy Davis's picture

Again like Alon says...

If it's one or 2 PCs then adding an entry to each machines hosts file is perhaps the quickest and easiest way,

If it's for a number of PCs and you also want the advantage of any new PCs automatically getting access to the TKL appliacne without adjusting it, a DNS server is a better option.

If you already have an existing onsite DNS then just add an entry for your TKL machine. OTOH if you don't have one then installing DNS in your appliance is easy.

The package you want is bind9 and there is a Webmin DNS config module which is called webmin-bind8 (works fine with bind9). There is a bug (that has documented workaround) so you need to create a folder prior to installation or it will refuse to install (sorry haven't got the link handy but a quick search should turn it up)  If you set your DNS server to forward lookups to whoever currently provides your external DNS and on your current gateway, set it to use your TKL  server then you'll be good to go.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)