Domain name/host name/external hosts

I have an external website, for argument sake: waterworld.net
I want to host the mail internally, and i have set up DNS records with my name registrar that has the A record point to my external web host, and I have created an MX record of "mail.waterworld.net" which points to the ip address of where I am hosting the mail server.
Should i give my server a name that looks like a fqdn based on my website? or should it be called something simple like "server.loc"? currently, that is what I have done.
Then in the general settings of the mail server, under Domain name (where it reads: enter the LOCAL internet domain name), should I use:
server.loc
waterworld.net, or
mail.waterworld.net
Then the next option, Hostname, I am guessing that is one of:
waterworld.net, or
mail.waterworld.net
I have done a search, and the closest I have found was this post, but it's a different question based around a similar situation.
http://discussions.apple.com/thread.jspa?messageID=10580535&#10580535
I am not a total newbie, and have been running my own mail server for a few years now, and I'm pretty sure I didn't do it correct last time, so thought I would try and get it right from the start this time. Sorry guys, if this is a really basic question, but I want to get this right.
thanks

Then in the general settings of the mail server, under Domain name (where it reads: enter the LOCAL internet domain name), should I use:
[snip]
This field sets the primary domain of the server - the domain it accepts mail for. in this case it would make sense to set 'waterworld.net'.
Then the next option, Hostname,
This sets the name it advertises itself as when sending outgoing mail. This should be mail.waterworld.net.

Similar Messages

  • Domain name/"primary DNS" name/mail host name/mail server name/mx name

    Hi,
    I have registered my domain name (N.com) with an external dns server and created an MX record (mail.N.com) for it as well. My server sits behind a router and internet traffic is port(80)-forwarded to my server's fixed internal ip address (I can access my webpages from the internet just fine). When I initially setup the server I was asked to give it a "primary DNS name." I naturally assumed that N.com was supposed to be entered here, but that just caused all kinds of problems (though I still do not understand why). So I reinstalled and currently have server.N.com as the primary DNS name of the server (although it shows up in Server Admin and Workgroup Manager as server.local--why is that?)
    I have had no luck getting any email from the internet with the default settings in mail services (domain name of N.com and host name of server.N.com). Having no luck with the defaults, I assumed that maybe I needed to change the host name to "mail.N.com" so that it matched the MX record. I also changed the user preferences in Workgroup Manager to receive mail from mail.N.com--but still no luck. Could someone tell me what I am doing wrong and how come none of the Mail Service literature mentions anything about what a mail "host name" is supposed to be? Is it supposed to be the same as the "Mail Server" name that Workgroup Manager asks each user for? and is it the same as the MX record name?
    I am just needing some help to connect all these variously named, but undefined, dots.
    Also, how come I can access webmail from the internet using www.N.com/webmail but can't do it from any computers within my physical network (I have to use IPaddress/webmail or server.local/webmail)?
    Also, should my user email addresses be [email protected] or [email protected] (which is the current default)?
    Thanks in advance and good luck!
    John

    I had been told by a friend that ... regular email coming in from the internet would go through port 80
    Unfortunately you were misinformed.
    My MX record needs the extra subname (such as "mail") in front of the domain name, right?
    Not at all. A MX record for 'N.com' is entirely valid (expected, in fact).
    An MX record tells remote mail servers where to send mail for any domain/subdomain. If you think about it, let's say you worked for Apple and you wanted people to be able to send email to [email protected], well then you need an MX record for 'apple.com'.
    You can see if you dig MX apple.com that they actually have 9 MX records, but the point still stands.
    Now, you might also have MX records for subdomains so that you can have [email protected], [email protected], [email protected], etc. Each of these subdomains would need a separate MX record.
    So, in general, for any set of email addresses @[anything.]domain.com you have a MX record telling remote mail servers where to send that mail.
    Of course the MX record name is mail.N.com, but I think you are implying that the in the Mail settings of Server Admin where it asks for domain name all I need to put there is the N.com, right?
    What I mean is that you need to set the domain name to whatever domain name you expect to receive mail at.
    If you want users to have email addresses in the form of [email protected], then you enter 'N.com'.
    If you want users to have email addresses in the form of [email protected] then you enter 'mail.N.com'.
    If you want both forms, enter one in the main domain and add the other(s) in the Advanced -> Hosting -> Local Host Aliases section.
    Is there anything in the Mail settings that needs to have the full MX record name (mail.N.com)?
    Yes. Either the 'domain name' or the 'Local Host Aliases' needs to contain the same thing as your MX record. That's because the MX record tells remote servers to send mail to this machine, but the machine won't accept the mail unless it is configured to do so.
    What is the "host name" supposed to be?
    This should be the name that remote servers see when this machine tries to send outgoing mail.
    Ideally this should match the reverse DNS of your IP address, that way when it connects to a remote server it says "Hi, I'm $hostname" and the remote server can lookup the machine's IP address and see the same result. This will reduce the problem of remote servers thinking you're sending them spam.
    If you only have a single IP address then this probably needs to be something like 'N.com'. If you don't have control over your reverse DNS then you're going to run into a problem.
    Also in the user accounts (in Workgroup Manager) what should the "mail server name" be? Is it the host name or the domain name?
    Off hand, I don't know.
    Also, why are all the default user email addresses [email protected] (the name I gave the server at setup)? Why doesn't the user accounts create [email protected] as the default address?
    Presumably because the mail server says it is 'server.N.com' and therefore any accounts on that machine would be [email protected]. Changing the domain name (as above) should fix that.

  • After specifying the external host name under outlook anywhere, users pop up for password

    Dear All,
    I have installed and configured exchange 2013 as a fresh installation on server 2012 and it worked fine till i changed
    specifying the external host name under outlook anywhere(in exchange ECP -> Server -> server -> W12R2-Email2013).
    My internal domain is starnavigator.lk and we have several accepted domains listed. but all the staff checked web mail through
    mail.leoburnett.lk internally and externally. even now web mail is working fine.
    After i added external host name as mail.leoburnett.lk
    all the internal PCs start to pop up for user name and password and its not  connecting. 
    even if I reversed back the settings, still prompt for user name and password. also auto discover cant locate the settings. if i configure the settings manually, i t works for first time and after restarting outlook, again prompt for name and password.Any
    any advice or solution please??
    Thx,
    Dulana

    Run this tool and post the result (only errors)
    https://testconnectivity.microsoft.com/
    After configuring outlook manually, run Test E-Mail Autoconfiguration and Connection Status and post the result.
    Editing just an URL for OA shouldn't cause any issue.
    Did you restarted IIS Service?
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Zombie Changes to Domain/Host Name in Mail Settings Window

    For the second time since setting it up, the domain name has changed from "domain.com" to "local", and the host name has changed from "myserver.domain.com" to "myserver.local".
    This tends to screw up my mail services.
    I cannot determine why this would change, by itself, without any external intervention from anyone.
    Suggestions?

    Thanks for your reply!
    The server is configured with static IP and running DHCP, DNS and mail, connectet to a D-Link router (the router also acting as a firewall). The DNS is configured with forwarder IP-addresses to the ISP and Google. Domain/hostname is changed from server.ljungh.net to server.local in postfix/main.cf (and other config files) and triggered if internet connection is lost by rebooting the router (or if internet connection to ISP is down for some other reason). Everything is working fine as long as the internet is up and running. The server is not acting as a firewall or multiple-network-controller.
    Output from changeip -checkhostname:
    Primary address = 192.168.0.196
    Current HostName = server.ljungh.net
    DNS HostName = server.ljungh.net
    The names match. There is nothing to change.
    dirserv:success = "success"
    Output from dig server.ljungh.net:
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> server.ljungh.net
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61515
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;server.ljungh.net. IN A
    ;; ANSWER SECTION:
    server.ljungh.net. 10800 IN A 192.168.0.196
    ;; AUTHORITY SECTION:
    ljungh.net. 10800 IN NS server.ljungh.net.
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Sun May 30 16:45:38 2010
    ;; MSG SIZE rcvd: 65
    Output from dig -x 192.168.0.196:
    ; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 192.168.0.196
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27573
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    ;; QUESTION SECTION:
    ;196.0.168.192.in-addr.arpa. IN PTR
    ;; ANSWER SECTION:
    196.0.168.192.in-addr.arpa. 10800 IN PTR server.ljungh.net.
    ;; AUTHORITY SECTION:
    0.168.192.in-addr.arpa. 10800 IN NS server.ljungh.net.
    ;; ADDITIONAL SECTION:
    server.ljungh.net. 10800 IN A 192.168.0.196
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Sun May 30 16:46:01 2010
    ;; MSG SIZE rcvd: 105

  • We have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc. from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when

    Hello All,
    we have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc.
    from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when we are trying to access the share folder with IP it asking for credentials i have type again and again
    correct credential but unable to access that. If i re-share the folder then we are access it but when we are restarted the system then same problem is occurring.
    I have checked IP,DNS,Gateway and more each & everything is well.
    Pls suggest us.
    Pankaj Kumar

    Hi,
    According to your description, my understanding is that the same shared folder can be accessed by name, but can’t be accessed be IP address and asks for credentials.
    Please try to enable the option below on the device which has shared folder:
    Besides, check the Advanced Shring settings of shared folder and confrim that if there is any limitation settings.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • 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

  • Question about Domain and Host name fields.

    Hello! Just a quick question, I currently have the Mail Server up and running although I'm a little unsure about what exactly needs to be entered into the users email application.
    I've tested POP and IMAP using the information that I entered into the "Domain Name" field, and into the "Host name" field, and everything worked great.
    Example:
    Incoming Mail Server: mail.example.com
    Outgoing Mail Server: smtp.example.com
    Although while setting up another site and including the normal mail setup via DNS I've also noticed that I can send and receive email by using other sites that belong to me, as long as they are pointing towards our server.
    Example:
    Incoming Mail Server: mail.mynewsite.com
    Outgoing Mail Server: smtp.mynewsite.com
    So, I guess my question is whether its bad to use other websites in the incoming and outgoing mail server fields, or should I stick to the incoming and outgoing sites that I have listed in the Mail Server's 'Domain Name' and 'Host Name' fields?
    I hope that made sense, thanks again for your help.
    Paul
    PowerMac G5, Xserve G5, and PowerBook G4 Mac OS X (10.4.8)

    Does it matter if our users type mail.example.com
    into the incoming mail server, or are they allowed to
    use their own domain name "mail.mydomain.com" as long
    as the DNS is setup correctly?
    There is no intrinsic 'meaning' to hostnames entered into the mail client. These are merely converted to IP addresses, using available dns, and then the mail client communicates with the IP address, using whatever port number is applicable for the service required (e.g., port 25 for smtp, port 110 for pop). So you could use the hostname woohooo.mydomain.com for the smtp or pop server, as long as it resolves to the correct IP.
    This enables laptop users to have the one smtp/pop hostname, with lan dns resolving it to the local private IP and ext dns resolving same hostname to wan IP.
    There is also no need to have two separate hostnames for pop and smtp. These are typically used by ISPs because they have separate servers doing each job - one doing pop, one doing smtp. If one server does both (and there is no likelihood of splitting the services later) then just the one hostname for pop and smtp is fine.
    -david

  • BIND appends my domain to remote host names when querying

    I'm running BIND v9.3.0 on Solaris 8.
    All the zone files, named.conf, resolv.conf etc seem to be properly
    configured.
    I get normal name resolution for hosts located inside my v-lan.
    Sendmail works inside my v-lan.
    However, when I try to hit an internet site outside of my v-lan it
    won't resolv.
    So, setting nslookup to debug mode, I did a lookup of a remote host.
    The result is that, when my local dns is queried, the host name alone
    is used, like its supposed to
    i.e.
    ;;res_nmkquery(QUERY, hostname, IN A)
    This is a remote host so, obviously, my DNS has no record of it, so it
    tries the remote server. This is where the problem comes in. When
    the remote server is queried, my domain gets appended to the host
    name:
    i.e.
    ;;res_nmkquery(QUERY, hostname.MYDOMAIN, IN A)
    Since the host does not reside in my domain, obviously this fully
    qualified domain name will never resolve because it isn't correct.
    How do I make it stop????!!!!!

    I notice the following error logs in server :
    EXCH.xxxx.org.xx in the personal store on the local computer. Therefore, it is unable to support the STARTTLS SMTP verb for the connector Default Frontend EXCH with a FQDN parameter of EXCH.xxxx.org.xx. If the connector's FQDN is not specified, the computer's
    FQDN is used. Verify the connector configuration and the installed certificates to make sure that there is a certificate with a domain name for that FQDN. If this certificate exists, run Enable-ExchangeCertificate -Services SMTP to make sure that the Microsoft
    Exchange Transport service has access to the certificate key.
    What this issues,

  • /etc/hosts Private Host Name Fully Qualified Domain Name does it matter?

    During installation of 11gR1 on Windows 2003 the examples in the installation guide show adding the Private IP and host name to /etc/hosts
    However they only add the short name, racnode1, not Fully qualified Domain Name (FQDN), racnode1.mycompany.com
    e.g.
    10.0.0.1 racnode1
    10.0.0.2 racnode2
    Later when installing the Clusterware it then expects to see the FQDN, racnode1.mycompany.com, of course you can modify this and remove the domain name and continue. OR go back and add the FQDN in /etc/hosts
    e.g.
    10.0.0.1 racnode1 racnode1.mycompany.com
    10.0.0.2 racnode2 racnode2.mycompany.com
    What is the best practice? Currently my company is just dropping the FQDN from the name during the install, my instinct is instead to add the FQDN to the /etc/host in the first place.
    Does anyone have a recommendation or experience with either situation?
    Will (using/ or not using) the FQDN cause me issues in the future?

    If it's a problem, the assistent will tell you :-)
    I don't think it's a problem.
    Please mind that the first entry will be the name of the ip address, if it's not in DNS and a utility tries to get the name. (that's the reason 127.0.0.1 resolves to localhost.localdomain, it's the first entry in /etc/hosts)

  • Webpage using host name without domain

    Installed 10g successfully but when I try to naviagte the url is only using the computer host name without the domain. I keep getting the DNS_ERROR. If I manually append the domain in the webpage it works.
    Installed on Solaris 10.

    I doubt this has anything to do with Lion Server. it sounds more like the client settings.
    Did you add your domain to the list of search domains (System Preferences -> Network -> Advanced -> DNS).
    This list is the list of domains the client will search when looking up a unqualified hostname. Add your domain to this list.

  • Domain Join Policy According to Host Name list

    hi all,
    It is possible? we create a group policy to join domain only those computer join the domain that host name or specific pattern predefine in GP for example,
    Host name:
    ABC-123
    ABC-456
    ABC-789
    only join domain for this pattern furthermore  any others host name are unable to join a domain .

    Hello,
    GPOs can be applied from domain computers or domain users, so they have to be already member from the domain BEFORE GPOs are applied.
    But you should think about using WDS, MDT or other installation mechanism so you can predefine the used machines names.
    There will be also scripted options available but therefore please ask in
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Mail server config inconsistent when host name differs from domain name

    Hi,
    I've installed Leopard server on host server.example.com but want to server email for example.com the host name for incoming mail should be mx01.example.com. DNS is setup properly resolving server.example.com and mx01.example.com (both forward and reverse, mx01 having a separate IP) and mx01.example.com is set as MX for example.com. Both IPs are routed to the internal server by the firewall.
    In Server Admin, server.example.com is set as computer name (also resolved to the proper internal IP by our internal DNS), and in mail settings -> General, domain name is set to example.com and host name to mx01.example.com (so that the mail server identifies itself properly when connected on port 25).
    Normal mail traffic works perfectly: Users can send and receive mail from/to addresses like <user_shortname>@example.com. I've got problems with mailing lists, though:
    First, group based mailing lists (for groups created in Workgroup Manager) have the wrong addresses: <group_shortname>@server.example.com. Those addresses are linked when you view the croup in Directory.app. You can send mails to eg [email protected] when connecting to the server via telnet on port 25, but get an error email ([email protected]>: mail for server.example.com loops back to myself, Reporting-MTA: mx01.example.com) back.
    Second, mailman based mailing lists also have the wrong addresses: <listname>@server.example.com and at the bottom of the mails received from the lists, there are also links to the lists web page with the url mx01.example.com instead of the host's name server.example.com.
    mx01 should only be used by incoming SMTP, but if this isn't possible, I could revert to using server.example.com for the MX record as well. But the email addresses should definitely use the domain name and not the full server name as domain part. This is a typical email server setup and I can't understand why leopard server handles this differently. Does anyone have a workaround for this or could tell me how to setup an email system properly?
    Thanks a lot in advance!!
    Cheers, Thomas

    Well, you pointed me into the right direction: Changing the mail server's host name helped a bit. I just dumped the name mx01.example.org. The host is called server.example.org and in mail settings, the domain name is set to example.org while the host name is set to server.example.com. The MX record will have to point to server.example.org, then.
    The server now accepts emails to group based mailing lists à la <group_shortname>@example.org. In Directory.app, the link the the group's mailing list still opens a new Mail to <group_shortname>@server.example.org, though.
    For mailman based mailing lists, the link to the list's listinfo page in the bottom of emails received from the list is now correctly pointing to server.example.org. The list's address shown there still is <list_name>@server.example.org.

  • Lists: domain name host name?

    In the 'General' tab of the Mail service window in Server Admin I've got the following:
    Domain name: subdomain.mydomain.com
    Host name: mail.mydomain.com
    So my e-mail addresses like [email protected] work fine. But what's weird is that when I'm creating mailing lists , the internal users get added to it like this: [email protected]!? Why is it that? Why don't they get added with [email protected]?
    Because the problem is if they send something to the list, it gets denied because the mailing list considers them non-members!
    Any ideas what the problem could be and how to correct that?
    Thanks.
    Xserve   Mac OS X (10.4.3)  

    All,
    From the Mail Service PDF Manual;
    "Adding a Subscriber to an Existing List
    This is the same procedure as adding a user to a newly created list.
    To add a subscriber to an existing list:
    1 In Server Admin, select Mail in the Computer & Services list.
    2 Click Settings.
    3 Select the Lists tab.
    4 Select the List to which you want to add a subscriber.
    5 Click the Add button under the Members pane.
    6 Enter the recipient’s email address.
    The email address must match the return address of the recipient to post messages
    without administrator approval.
    If a user was added via the “Users and Groups” button, the email address in the list will
    be in the form of “[email protected]”. If necessary, change the email address in
    the mailing lists panel of Server Admin to match the return address used by the client.
    7 Assign the subscriber privileges.
    8 Click OK."
    In other words, click in the user's email field and edit the address to suit - by default Mailman treats the list as belonging to the machine's host name, not to the email domain/sub-domain, which is the most logical since you could have multiple domains/sub-domains configured.
    Regards,
    Ian

  • Mail Setup - Domain Name vs. Host Name

    I tried to search for this one, but the terms are so common that it made things a little difficult. Anyways, it's a simple question (I think):
    My mail service is working fine, however I just noticed that in server admin (under Mail), the domain name is set as mail.mydomain.com and the host name is set to mydomain.com. That's counter to my understanding of what should be in those fields (it should be the reverse, if my understanding of the relevant terms is correct). However, when I tried to switch them I get the following error, albeit only when I try to send mail from one domain hosted on this machine to another domain hosted on the same machine:
    mail for mydomain.com loops back to myself.
    Any ideas?

    You are correct, it should be the other way around.
    That said, there is a bug in Server Admin. It will sometimes not correctly references the domain name portion in the mydestination parameter in /etc/postfix/main.cf.
    So while it would be a good idea to swap things, you will need to also add the domain name as a local host alias in Server Admin to get mail going again.
    HTH,
    Alex

  • Domain Name, Host Name and VPN help

    When I connect to my office VPN and try to ssh to one the machine I always have to put domain name, for example:
    ssh -X snorlax.xx.yy.com
    Recently my office changed their VPN settings and this started happening. Earlier I was able to just use snorlax instead of typing snorlax.xx.yy.com
    My mail client has also stopped working from home saying same thing: host cannot be resolved .
    I was reading online about domain name but I'm not too sure how does this work.
    Is it possible to append xx.yy.com before host name before resolving?
    Any help or suggestion would be appreciated.
    Thank you!
    Shivam

    You could also directly assign the IP to the hostname and skip the dns lookup if you add it to /etc/hosts.
    If you need more fine-grained control over hostname resolution you can use a local dns server like dnsmasq, bind (named), pdnsd, or unbound
    Last edited by progandy (2013-11-30 14:28:54)

  • How to Get Host Name Domain Name : Port No. for App Server From Forms

    Forms 10g r2
    I am looking to run various forms and reports from within a form. I am using web_show_document. I am passing the URL which includes "http://{host name . domain name : port number}/forms/frmservlet?config=schema1_schema2 form=ab0001 p_param1=151 p_param2=1409 p_x=X". My schema1_schema2 config section in formsweb.cfg contains user name, password, connection information.
    All works well when the actual host_name.domain_name:port_no are hard-coded within a string that is used for the URL with web_show_document, but I need to be able to distribute the form without hard-coding the host_name, domain_name, and port_no.
    I have looked in forms help for application properties, system variables, and within this forum for the built-in or system variable that returns this information, but have not found it.
    Can someone please tell me how I can get this information (host_name, domain_name, and port_number for the application server on which the form is currently running) so that I can build this working URL dynamically?
    I appologize if I have overlooked it within this forum.
    Thanks greatly,
    James

    Thanks, Rosario.
    As it turns out, I don't need the IAS Host_Name, Domain_name, and Port_No. Instead, I can do what I described by stripping off precisely THAT information leaving a URL that looks like:
    v_url := "/forms/frmservlet?config=schema1_schema2 form=ab0001 p_param1=151 p_param2=1409 p_x=X";
    WEB.SHOW_DOCUMENT(v_url,'_blank');
    The original IAS Host_Name, Domain_Name, and Port_No. are assumed and the named config -- schema1_schema2 is still properly referenced so as to use the username/password and connect string to the 2nd schema. This is done by use of the relative path.

Maybe you are looking for

  • How to call a WD JAVA application from a WD ABAP application

    Hi experts, Here I have two applications with me. One has been created through WebDynpro ABAP while the other one has been created through WebDynpro JAVA. Now i have to call upon the JAVA aplication from my ABAp application. In other words in need to

  • My album artwork is showing up in my itunes library but not in itunes under ipod:music. help

    When I'm in itunes my album artwork shows up in my library. But if  i'm in itunes under my ipod:music it will not let me sort by Album, only Album by Artist, and absoluetly no artwork is there.help!

  • Subscription to Microsoft published calendar

    I received a invite to a calendar published under Microsoft Outlook (not using exchange). The subscription process fails when configuring on the iPhone even though it follows the .ics format. Thought it may require a Windows Live ID, so set one up an

  • Save JTable and JCheckBox content

    I've made a JTable(working with DefaultTableModel). One of the columns contains JCheckBoxes. I would like to save the data into a file, but i don't know how to manage this. Is there somebody who knows a possible solution?! Thx

  • Spotlight, Fonts in French, account set to English.

    After installing Snow Leopard, I noticed (without me changing anything) that now when I search for an app in Spotlight it searches in French (not that I can't understand it.. but its annoying) so if I quickly search for "Calc" it will return "Calcule