On Thursday 04 January 2007 19:14, [EMAIL PROTECTED] wrote: > Oh, I do love this one :>) I searched for an easy answer for a long > time and everyone gave me help which was both convoluted and difficult > to implement. > > > When I choose the www.sitewhatever.com.au address (not the internal > > 192.168.x.x) it goes to the ADSL modem. That's from internal. > > Many places in websites these days running CMS or Blogging software > > point the site back to the www.sitewhatever.com.au in its links rather > > than localhost or 192.168.x.x. > > Try this on one line, in your /etc/hosts file put - > > 192.local.server.address www.sitewhatever.com.au > > It should just work when you enter www.sitewhatever.com.au in your > browser. I run a small hosting site with virtual name hosting and I > enter each site against the IP address of the server. It gets me the > right site without hitting the router login (as you have experienced) > and damned quick too. Wish the web was like that in real life :>)
Depending on what you are doing, you may get off easily. I run gallery on my www server and for that to work the only solution was views on the DNS (Well you could hack gallery ...) James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
