[SOLVED] multiple host names and domains configuration

Hi everybody,
probably this is a less than newbie questions but I can't figure out what is the right way to set my hosts files within this framework:
1) Two registred domains pointing to my ip address: www.bonfus.it, argo.mooo.com
2) nslookup of wan ip address:
nslookup 79.41.201.100
Server: 192.168.2.1
Address: 192.168.2.1#53
Non-authoritative answer:
100.201.41.79.in-addr.arpa name = host100-201-dynamic.41-79-r.retail.telecomitalia.it.
3) DDWrt (192.168.2.1) natting traffic to local network and web server
4) Server PC with services (192.168.2.100)
My problem is: how should I set domain name within DDWRT router configuration and on the server PC? Is this configuration correct for the pc?
/etc/hosts/
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost argo
192.168.2.100 argo.mooo.com argo
192.168.2.100 www.bonfus.it www
/etc/rc.conf
HOSTNAME="argo"
Thanks,
Pietro
Last edited by pie86 (2010-11-28 19:29:40)

Any domains that are local should point to the local IP in /etc/hosts. You should just need one line.
Something like this:
127.0.0.1 localhost.localdomain localhost argo argo.mooo.com www.bonfus.it
You don't have to put them all in there. For example, you'd only want to add 'www' if you want the www host to resolv to 127.0.0.1. I doubt you'd ever see the host www used by itself. Usually having just the short and long server hostname is enough (argo and argo.mooo.com).
I think you should have the long hostname in your /etc/rc.conf:
HOSTNAME="argo.mooo.com"

Similar Messages

  • How to change host name and domain name in installed Cisco Meeting Place Express 2.0?

    Hi
    I have  Cisco Meeting Place Express 2.0 installed on server. Meting Place uses Linux (Red Hat) as base operation system. Please tell me how I can change host name and domain name for Meeting Place Express application to integrate it into corporate domain infrastructure.
    Thanks in advance!!!
    Sincerely yours
    Sergey Bondarenko

    Hi
    Thanks for your attention for my humble problem.
    I have performed Meeting Place Express configuration through the “net” command.
    But now unfortunately I can't connect to meeting place through web browser. I just get blank page.
    Though I can reach the server with help of ssh. I think my DNS works properly because I can resolve the ip address of  cumpxvoice .uclab.com and cumpxweb. uclab.com with help of dig command.
    Have you any idea?
    A lot of thanks in advance!!
    Sincerely yours Sergey Bondarenko
    Here I have printed the net configuration output of Cisco meeting Place Express:
    [root@cumpxvoice root]# net
    This is the MeetingPlace Express network configuration utility.
    Up to the point where you save changes, it is safe to hit ^C to get
    out at any time, in which case nothing will have changed.
    1) List current configuration
    2) Configure Ethernet port 1
    3) Configure Ethernet port 2
    4) Configure service bindings
    5) Set host names
    6) Set domain name
    7) Configure DNS service
    8) Configure NTP service
    9) Configure routing
    10) Done
    Select: 1
    Primary/audio host name: cumpxvoice
    HTTP host name:          cumpxvoice
    RTMP host name:          cumpxweb
    Domain name:             uclab.com
    Service bindings:
    Audio:                   port 1 (eth0)
    Web browsing (HTTP):     port 1 (eth0)
    Web conferencing (RTMP): port 2 (eth1)
    Port 1 (device eth0):
    IP Address:      10.62.60.116
    Network mask:    255.255.255.0
    Default gateway: 10.62.60.1
    Link setting:    autoneg on
    Port 2 (device eth1):
    IP Address:      10.62.60.117
    Network mask:    255.255.255.0
    Default gateway: 10.62.60.1
    Link setting:    autoneg on
    Static routes:
    Destination      Gateway          Network mask     Port
    0.0.0.0          10.62.60.1       0.0.0.0          1
    DNS Servers:
    10.62.60.115
    10.0.1.4

  • Apps 11i , Need to change Host Name and Domain Name after Install

    Hi,
    I have installed 11.5.10.2 on Windows. Now I need to change the Host and Domain of the instance.
    Please advise.
    Regards
    Tauseef

    Hi,
    Please refer to:
    Note: 338003.1 - How to change the hostname and/or port of the Database Tier using AutoConfig
    Note: 341322.1 - How to change the hostname of an Applications Tier using AutoConfig
    Regards,
    Hussein

  • How to get the Host name and port number

    Hi all,
    I am working in xRPM. I need to get the server name, host name & port number for the portal and i need to diaplay as a link in the Workflow step. I cant give the portal link as static, as it will vary depends on the DEV, QUAL, PROD. Is there any FM or class is available, so i can get the server name, port no. for my purpose?.
    Regards,
    Vinoth

    Hi Kanagaraja,
    My client has configured the portal and backend in different stack. So when i execute the FM you provided and with class: CL_HTTP_SERVER, CL_WD_UTILITIES, i am getting only the backend host name and port no. not the portal's info. So please help is there any way we can get the portal's info.
    Thanks for your reply.
    -Vinoth

  • Web AS Host Name and Path

    Hi experts ,
    Where to find the Web application server host name and its path defined in R/3 . Actually i am trying to create a backed SAP system for Portal. Is their any transaction to check the defined value for it.
    - Rajesh

    Hi Rajesh,
    Actually Web AS Host name is <Servername>.<domain name>:<Port no>
                 Web AS Path for R/3 is </sap/bc/bsp/sapd>
    Refer the following link.
    <a href="https://forums.sdn.sap.com/thread.jspa?threadID=402561">https://forums.sdn.sap.com/thread.jspa?threadID=402561</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=265076">https://www.sdn.sap.com/irj/sdn/thread?threadID=265076</a>
    Regards
    Hemalatha
    /Assign points if helpful/

  • Solution Manager 7 EHP1 - Chage Host name and IP Address

    Dear All,
    I have installed Solution Manager 7 EHP1 (ABAP+JAVA Stack) on Windows 2003 64bit and working fine.
    I need to change HOST name and IP Address of the machine.
    In SAP where I need to change or reconfig ?
    Thanks in advance,
    Nirav

    Hello Nirav,
    first of all: welcome to a big adventure!
    There are some configurations you should face and prepare yourself before you change the hostname, or IP-Adress.
    1. Be aware of the SMD-Agents. You should activate the Maintenace Mode in Diagnostics just before changing the hostname.
    2. Do the changes in ABAP (profile parameters, transport configurations, RFC-connection settings, reorganization of table entries). The systemcopy guide is a good place for informations. Don't forget to recreate the trusted connections to and from the connected  managed systems.
    3. Do the changes in Java (use system copy guide for informations).
    4. Every SMD-Agent in your system landscape must be reconfigured after you change the hostname and did the adjustments in ABAP and Java. Have look into the Diagnostics setup Guide for a detailed information about changing the conection parameters
    5. If you are using a central DBACOCKPIT management in SolMan and Oracle, the TNSNAMES entry should be changed.
    6. SAP likes to connect to SolMan, so the SAPROUTER entries schould be changed also.
    7. Perhaps you are monitoring your system landscape with SAPCCMS Agents, then all agents in your landscape have to be changed in their configurations.
    8. I have BI installed within SolMan and got an error page after changeing the hostname. Try this URL to make some corrections:
    http://<hostname>:<Port>/webdynpro/dispatcher/sap.com/tcsmde2ewa/E2ewaConfig
    Changing the hostname of SolMan isn't a small job and done in 60s. I suggest a detailed planning and to make a roadmap of all doings.
    Have a lot of fun!
    Sascha

  • Change Host Name and IP Address on machine running WLS 9.2

    Hello,
    I am new to this community, so please forgive any unintended missteps.
    I have an installation of BEA WebLogic Server 9.2 running on Windows 2003 Server SP2. This installation is running on a virtual server, which was created using some VMware product that copies or clones production environments. The purpose of this new, cloned environment is to act as a development environment. This new DEV server has a different host name and IP address from the source PROD server.
    WLS is not starting up properly. It complains about the license.bea file not being valid. To try to fix that, I manually changed the IP address listed within that file, from that of the original system to that of the current system, but that did not change the error message I get during startup.
    I imagine that this instance of WLS needs to be re-licensed to account for the change in IP address. Besides that, are there any other configuration parameters in text files, registry settings, etc., that need to be modified in order to allow the new instance of WLS to work the same as the old instance?
    Please note that we want both DEV and PROD to run simultaneously, so we need to take steps to ensure they (and the applications running on WLS) don't talk to each other.
    I tried to search the BEA sites and found a few resources, but related to some other products (ALES?), not WLS.
    Thoughts, suggestions, feedback, or pointers to documentation would be greatly appreciated.
    Thanks,
    JPG.

    Hi JPG,
    The BEA license files are tied to IP address. Editing the license.bea to change the IP address file will not work.
    Any reason why you cannot use a 5 user dev license for your environment?
    If you break the 5 user limit then use IIS or Apache to front-end the the WLS instance.
    Cheers
    Mike

  • What is MS SQL DB host name and DB port number ?

    i just installed HP quality center and ms sql 2008.Now hp quality center need to connect to my my ms sql database its asking me for database host name and data base port number.please help me out how can i find that.
    Thanks

    Click Start >> Run
    For SQL Server 2005 Type "SQLServerManager.msc" and click OK
    For SQL Server 2008 Type "SQLServerManager10.msc" and click OK
    This will Open the SQL Server Configuration Manager for you.
    Now in the Left Pane, expand "SQL Server Network Configuration" and click on "Protocols for <InstanceName>"
    Now In the right pane, right-click on the "TCP/IP" protocol and go to properties - In the bottom there is TCP port - 1433(This is default) if your sql instance is other than default it will be dynamic port.
    For host name RUN>>CMD>hostname>> this will provide host name of the server.

  • I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html a

    I am not able to use the ftp export in Muse. When I enter my host, name and password, I get a long interlude of rainbow wheel and finally the message that my ftp host cannot be found. I have verified the name and that it is port 21. I can export to html and use another ftp client to upload (to the same server) but this is tedious and making minor changes is painful. Have you encountered this and found a solution?

    Hi Susan,
    In that case I will recommend that you consult a local technician/IT team and see if there is some network connectivity issue with your machine.
    - Abhishek Maurya

  • Replacing Host Name and Port number throughout Environments

    So I am currently working on a project that have several classes using simple JDBC code. I'm switching all of it to use JNDI instead of what is currently being used. I'm using Weblogic and the plan is to have the code run in a cluster.
    Here is a code Snippet of some of the code.
    Context ctx = null;
    Hashtable ht = new Hashtable();
    ht.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    ht.put(Context.PROVIDER_URL,
    "t3://hostname:port");
    My problem lies in the the "t3://hostname:port" String. I don't want to hardcode that since I know its bad code practice but my question is what is the best way to replace that with the Host Name and Port number as I move environments. Should I have a Class with a Static Variable and just reference that through the other classes or should I put it in some Property file and read the value from there? Any insight into this would be greatly appreciated.
    Thank you.

    would it be something like this?
    Properties properties = new Properties();
              try {
         properties.load(new FileInputStream("src/jndi.properties"));
         String url = properties.getProperty("url");
         System.out.println(url );
         } catch (IOException e) {
         }

  • Host name and ip address

    Hi, i create a audit table , which save every action of the user on the client machines.,,,
    i run this command on the SQLPLUSW Prompt, and it works well and return host name and ip adress ,,
    select SYS_CONTEXT('USERENV','HOST') host,
    SYS_CONTEXT('USERENV','IP_ADDRESS') ip_address from dual;
    but when i write this command in the insert query it give me error that
    bad behind variable SYS_CONTEXT
    so tell me how i save the information through forms..
    thanks for helping me

    INSERT INTO AUDIT_DETAIL
    ENTRY_NO ,
    USER_NAME ,
    ACTION ,
    VOUCHER_NO ,
    DATE ,
    TIME ,
    REMARKS,
    DEPT ,
    SCREEN ,
    HOST ,
    IP_ADDRESS
    VALUES
    ENTRY_NO,
    USER_NAME ,
    ACTION ,
    VOUCHER_NO ,
    DATE ,
    TIME ,
    REMARKS,
    DEPT ,
    SCREEN ,
    SYS_CONTEXT('USERENV','HOST') , -- Here I want to save host name
    SYS_CONTEXT('USERENV',IP_ADDRESS’) Here I want to save host name
    )

  • Host Name and version.

    All,
    Applogize for posting non-oracle questions.
    1.How to find out the host name and version of the OS on Linux and Solaris OS.
    2. How to find out the free space on Solaris in terms of GBs.
    Thanks

    For question 1 on any UNIX system you should be able to use the uname command like in uname -n or uname -a
    For question 2 do you mean memory or disk when you ask about free space?
    Look up sar and df and du.
    HTH -- Mark D Powell --

  • ITS Host Name in portal configuration

    I am in need of ITS Host Name in portal configuration,but i dont know what exactly i have to give for that.pls suggest me.
    Thanks
    Ramesh

    ITS host name is :your portal name:8001

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

Maybe you are looking for

  • PO -Form Printout

    Hi Guys, Could someone guide me thru' the process on 'How to change Form layout for the PO'. We have to replace our old company Logo with a new one and also the Address title and other details. I'm not sure where to look for those as I am poor in SAP

  • Correct way of async updates?

    Hi FX gurus As far as I understand, no other thread than the JFX app thread may manipulate node props in the scene graph. If I have the need to reflect async updates of a data model within my JavaFX UI, the way to go is via Platform.runLater in a JFX

  • IDOC_INPUT_INVOIC_MRM or IDOC_INPUT_INVOIC_MM

    Which one do you prefer for create invoice like MIRO. Also where can i find an example for these IDOCs structures. ( EDIDD, EDIDC ) . Thanks

  • Muse 2014.3 Update Absolutely Sucks

    Worst update I have ever seen. I am continuously crashing for the most random things. I hope you all catch a lot of flack for this. It has screwed up my workflow horribly. I've spent just as much time trying to fix problems as I have my actual work.

  • Pass Multiple values of single field to ITS url

    Hi , I have one transaction code(YW37P), I that have one field(Order No) in the selection screen, which has capable to accept multiple values (i.e multiple single values) and excute the t code. Now my question is how to pass this multiple values of o