Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Retrieving the Hostname of TeamSite
keith999
Are there any "iw" commands for getting the hostname of TeamSite?
Thanks!
Find more posts tagged with
Comments
Migrateduser
For what purpose do you want the hostname?
One approach is to use the command 'hostname'. That will give you the simple name of the machine.
Another is to use 'iw-home/bin/iwconfig iwwebd host'. That will give you the domain-name qualified host for web access.
Brinko Kobrin
Interwoven Staff Engineer
Pommes
The hostname is in the environment variable HTTP_HOST
Migrateduser
If you are in Perl check perldoc TeamSite::Config, I think in some versions there's a hostname() or some other sub.