DNS Name to portal (short) URL

Hi folks,
we are going to integrate some webapplications via url-iview in our portal (2004s). The applications have there own dns-name within our domain-dns-server.
After the integration, my plan is that the dns will be resolved into a portal (short)URL. In IIS i can take the hostheader for this, but how is it possible in the portal?
best regards
Frank

Hi,
ok I finally got it
You will encounter the following problem:
If you configure your alias ABC to resolve to the IP Address of your portal there is no application associated with it (/xxx) so you will always call the index.html (J2EE Startpage of your J2EE)
What you can do here is modify the index.html to redirect to a specific destination using meta http-equiv="refresh"
e.g.
meta http-equiv="refresh" content="0;url=/irj/portal/
Since it is just HTML you cannot disinguish and you will always be redirected to this destination when accessing the startpage or just http://portalhost
Now you have several ways to solve this:
1. I think that you can define Virtual Hosts in the HTTP Provider Service (Visual Admin / HTTP Provider Service) and Application Aliases (I've never done that but it should work). This means that you define a virtual host (e.g ABC) and map it to any application e.g /myAPP1 on your J2EE
see the following doc:
http://help.sap.com/saphelp_nw70/helpdata/EN/e5/ac55423948b330e10000000a155106/frameset.htm
2. You can change the Directory Index of your Engine (HTTP Provider / Properties TAB / Infer Names Property) and add something like index.jsp to the list
Default Value is:
{index.html,index.htm,default.html,default.htm}
Then you rename your index.html to something like startpage.html and put the index.jsp in the directory instead. In your JSP you will then be able to parse the Request (e.g. parse the Request URL, Headers etc. and send an appropriate redirect that fits your needs.) In all other cases you just send a redirect to startpage.html so you will still be able to see the Startpage if necessary
You have to put this jsp in the following path:
/usr/sap/<SID>/JC<InstanceNo>/j2ee/cluster/serverN/apps/sap.com/irj/servlet_jsp/irj/root
Note that if you are just typing
http://ABC and ABC will be resolved to your portal IP you will have to bind your portal to port 80 in order to make this work (I would not do that because you will get into trouble when upgrading or patching) or you will have to provide the port e.g. http://ABC:50000
If you do not want to provide the port than you will have to put a Proxy (e.g. IIS on the portal host that listens on port 80 and does whatever you like (e.g. parses HTTP Header and sends redirect or whatever)
Hope this helps
Cheers

Similar Messages

  • Workflow and Portal Short URLs

    Hi all,
    I have created a custom link for a workflow that uses a portal short URL.  if I run the URL by itself, then it works fine.  When I add it to the URL link in the workflow, it doesn't show up in the workflow e-mail.  Something is confusing the program and changing code so the URL doesn't get added properly.  I know that it works if I use say a direct link to an iView (using the URL if you were to click the Preview button when viewing the iView in the Portal Content Directory).
    Anyone have any suggestions on how to get this to work?  I like the anonymity of the short URLs.
    Hope this makes sense,
    Kevin

    I can't get the short URL to work within a workflow.  There is something with the combination of letters and numbers and other characters that when the link gets created, it fails. 
    Short URL just comes from the Portal.
    Refer to this link
    http://scn.sap.com/thread/3615332
    Kevin

  • Navigation with Short URLs for T.Code Published in the portal()

    Dear Expert
    We have the following issue:
    Requeriment:
    We created a report ABAP in the R/3. For this Report, the ABAP Team created a t.code ZPORTAL. For this t.code we created a service ITS in the t.code SICF, the name of this service is ZPORTAL. In the portal we created an type of iView IAC for call this service and assign the Iview to a page. And the Page to a role customer.
    In this moment the service work fine. The problem initial was that when the enduser press the button exit(Finalizar) the portal display the message Logged Off Successfully .
    We write in the forum of sdn with the following link:
    Logged Off Successfully
    And we made the step in the help.sap.com; But the result not is the that we wait.
    http://help.sap.com/saphelp_nw04s/helpdata/en/b3/7b8163404448e7aad7899c0b30313e/frameset.htm
    Please you can help me with suggestion.
    How can solve my issue and get the result that we wait..
    I can send documentation with the steps that I made, and the result that I want get.
    With kind regards
    Regards

    Hi,
    At System Administration > Navigation > Short URLs, the Short URL is activated?
    Can you see some URL codes on this page?
    Best regards
    João Macedo

  • Navigation with Short URLs for T.Code Published in the portal ESS

    Dear Expert
    We have the following issue:
    Requeriment:
    We created a report ABAP in the R/3. For this Report, the ABAP Team created a t.code ZPORTAL. For this t.code we created a service ITS in the t.code SICF, the name of this service is ZPORTAL. In the portal we created an type of iView IAC for call this service and assign the Iview to a page. And the Page to a role customer.
    In this moment the service work fine. The problem initial was that when the enduser press the button exit(Finalizar) the portal display the message Logged Off Successfully .
    We write in the forum of sdn with the following link:
    Logged Off Successfully
    And we made the step in the help.sap.com; But the result not is the that we wait.
    http://help.sap.com/saphelp_nw04s/helpdata/en/b3/7b8163404448e7aad7899c0b30313e/frameset.htm
    Please you can help me with suggestion.
    How can solve my issue and get the result that we wait..
    I can send documentation with the steps that I made, and the result that I want get.
    With kind regards
    Regards

    Hi,
    At System Administration > Navigation > Short URLs, the Short URL is activated?
    Can you see some URL codes on this page?
    Best regards
    João Macedo

  • Short URL in the Form of Text Message like SDN for Enternal Facing Portal

    Hi,
    For the External Facing Portal, We are using the Light Frame work with Light Top Level Navigation and customized it for look and feel.
    When we publish the Anonymous User role for the EFP, and navigate through the roles, The Portal URL is getting added with Short URL's (NavigationTaeget.....)
    How to make this Short URL's in the form of Text Messages like example in SDN
    After clicking the Forums the URL shown is like https://sdn.sap.com/irj/sdn/forums instead of Short URL.
    We are looking for some thing same.
    Regards
    Sumanth

    Hi Sumanth,
    Short URL is automatically created by portal.
    So you cant make the short URL in the form of text message.Refer the following link
    <a href="https://weblogs.sdn.sap.com/pub/wlg/2452">https://weblogs.sdn.sap.com/pub/wlg/2452</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/b3/7b8163404448e7aad7899c0b30313e/content.htm">http://help.sap.com/saphelp_nw70/helpdata/en/b3/7b8163404448e7aad7899c0b30313e/content.htm</a>
    Regards,
    Hemalatha

  • Short URL issue

    Dear Experts,
    I am able to find the short URL for the following iView in Development portal.
    ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_travel_expenses/com.sap.pct.erp.ess.12.tripform
    However, I could not able to find the short URL for the same iView in Quality portal.
    Would appreciate if you could help me on this please.
    I checked the following configuration in QA
    1.The said iveiw(WDA) has been opened in QA more than once
    2.Short URL is activated in system admin in QA portal.
    Thanks and Regards,
    Tarani Jena

    Hi Kevin,
    Thanks for your reply, which is helpful.
    I have done the following steps again
    Look at the iView in Content Admin to be sure you know it's technical name
    2. In the Portal, navigate to System Administration --> Navigation --> Short URLs (which is in detailed navigation)
    3. Verify that short URLs are active inthe top of this screen
    4. in the search field below, enter the technical name of your iView (use an asterisk before and after it to be safe) then click 'Search'
    5. you'll see the results below and find the short URL for this iView
    I could able to find the short URL in Dev. However could not find the short URL for the same iView in QA. Any idea, what am I missing in QA?
    Regards,
    Tarani Jena

  • I want to create home page for my application with short URL

    I want to create home page for my application with short URL
    as when I want user to use my application user must go to URL like this
    http://127.0.0.1:7101/My-Project/faces/app/empModule/allEmployees/viewMyEmployees.jspxI want the user to use short URL , How can I use shorter URL not all this one.
    I want shorter URL for my application not to write full path .
    thanks in advance.
    Edited by: user611775 on Oct 31, 2010 10:21 PM

    Well,
    it's up to you. The first part (Mcit-Project-ViewController-context-root) is the context root which you define in the view controller project. 'faces' is the name the servlet filter reacts on. You can't omit it but shorten it in web.xml. The rest is your directory structure. I'm not sure how to shorten this other as to move the jspx files back into the web root folder.
    By the way an ADF faces app never uses the .jspx at the end of the url. If you specify '.jspx', you only render the page but don't start the work flow.
    Timo

  • Rdp://full%20address=s: IP or DNS Name is not user friendly... Can rdp:// IP or DNS Name be assumed as the full address in Microsoft Remote Desktop?

    We would like to request Microsoft Remote Desktop (MRD) to behave the same as the open source CoRD.app on OS X with respect URL resolution.
    Example:MRD will resolve from Terminal rdp://full%20address=s:<IP or DNS Name>, but not rdp://<IP or DNS Name>
    As the OS will respect any of the following protocols in Terminal or browser:
    afp://<username>@<IP or DNS Name>
    cifs://<username>@<IP or DNS Name>
    ftp://<username>@<IP or DNS Name>
    ftps://<username>@<IP or DNS Name>
    http://<username>@<IP or DNS Name>
    https://<username>@<IP or DNS Name>
    smb://<username>@<IP or DNS Name>
    ssh://<username>@<IP or DNS Name>
    vnc://<username>@<IP or DNS Name>
    (<username> can be omitted to force authentication at connection)  it seems slightly redundant to force "full%20address=s:" in the URL.
    Can Version 8.0.1.6 be modified address this request?
    What is the proper way to report an enhancement request or bug?
    Thank you for your consideration.

    Hi,
    From your description it appears that you want to modify the pattern for assigning the rdp full address but this doesn’t support as per your requirement. That is the default string which we need to have for passing full address. 
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    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]

  • DNS Name in OD Password Server field?

    So, I got a new juniper firewall the other day to reduce the amount of work my main server has. Fire it up, configure it, and I notice that password server requests are going out the NAT, then back into the public IP of the server.
    My question is this: would it be wise and/or acceptable to change the IP address to a URL in OD (in WGM, Click on target, config in the popup, passwordserver in the list, value in question is PasswordServerLocation and dsAttrTypeNative:apple-password-server-location)?
    I would rather do this as the internal DNS points the proper name to the internal IP, while the external does the same for the public IP, so password server would work properly no matter where a user is.

    Hi,
    johan wrote:
    > Is it possible to put a DNS name in an Exception filter ?
    No.
    > And can i open a filter for a range of destination addresses like 10.0.6.*
    Well, sure. You use a Network as destination (vs. a HOST).
    CU,
    Massimo Rosen
    Novell Product Support Forum Sysop
    No emails please!
    http://www.cfc-it.de

  • Can't use short URL

    I tried the following fix last week after I kept getting publishing error messages and at first it seemed to work, but even after I deleted it in iWeb, the test page was coming up as the first page. I found it in a folder on my iDisk and deleted the test page there. My problem now is that my Website is only accessible from the longer URL. If I use http://web.mac.com/rksmelser all that comes up is a message that the page cannot be displayed. It is accessible from http://web.mac.com/rksmelser/iWeb/randykaty That wouldn't be such a huge problem, but we are now in America on a reporting trip and we have had brochures printed with the shorter link. Any ideas? I am afraid of messing the situation up more. I am still having problems with uploading changes, but right now I would be satisfied with being able to use the shorter URL.
    This is what I followed to fix my problem:
    Thanks for any help!
    Hi geebee - bit long winded but this is the full fix
    that I wrote up for someone else - it worked for them
    so good luck.
    1. To create a new login, open system preference
    folder and open accounts. Unlock by clicking on the
    padlock icon. Now click on the plus icon which will
    allow you to create a new login name and password.
    Tick allow user to administer computer. Lock the
    padlock again and close window.
    2. Go to apple logo top left of screen and logoff
    your username - you will be prompted shortly with
    choice of logins and choose the new one - you get a
    fresh screen which looks like when you first switched
    on the mac. You can test iweb here by publishing any
    old template to see if it works. It should do.
    Assuming all is ok, this next is how to publish your
    existing site.
    3. Go back to your normal login. Find the domain file
    and copy it to dvd - domain file can be found as
    follows: open finder > click on house icon (yourname)
    click on library >click on application support
    click on iweb and here you will find domain file -
    copy it.
    4. Log out and log on to new login again - find
    domain file in this system and delete it then in its
    place put your copy domain file from the dvd. When
    you open iweb in this system you should see your web
    files and hopefully you should now be able to publish
    them. This is where I succeeded.
    5. If successful I have since discovered that you can
    do the reverse - ie. delete the domain file from your
    main login - copy domain file from your new login and
    put it back in the original system. I found this
    shook off whatever the problem was. I have also
    discovered since that I seem to have lost some
    functionality in that the slide shows don't seem to
    work now so I guess I might have to rebuild some of
    the pages - but the important thing is it will now
    publish.
    Hope you can follow this and hope you have the
    success I had. Let me know if there is anything else
    I can help with, and let me know if it works.
    Auray
    iMac duo Mac OS
    X (10.4.7)
    MacBook   Mac OS X (10.4.7)   iMac

    I'm sure I had used "Publish All" when this problem started last week, but I just tried it again and it seems to be working now! Yesterday when I re-published I just clicked on the link that comes up in the pop-up box and it wasn't working, but today it worked!
    Thanks for helping me not give up.
    Katy

  • Keeping the right site tied to my short url on MobileMe

    I have maintained multiple websites in multiple domain files, all published to MobileMe since iWeb first came out. I have one site which serves as an index page to all the sites I maintain. This index site is designed to be tied to my short url at MobileMe (http://web.me.com/username). That way from my short url I (or others) can access all the sites.
    Prior to iWeb 09, I knew how to make sure that site remained tied to my short user name. Namely, I only published website changes using "Publish to MobileMe" and never "Publish All to MobileMe."
    I recently bought a MacBook Pro, with iWeb 09 installed, and have shifted to using it to maintain my websites. But now, any time I update a website (using "Publish Changes"), that website "takes over" the short url.
    Is there a solution to this? I did try searching the forums before posting, but my search turned up so many "false matches" I'm afraid I gave up slogging through them all.
    kabing

    With iWeb 09 the last published site is the one that the will be the default site when entering the minimal http://web.me.com/username URL. You can fix that using the method Wyodor posted here: http://discussions.apple.com/thread.jspa?messageID=10748607&#10748607 .
    Or you can purchase a domain name for that entry site and use simple domain name forwarding with or without masking. The domain name would be pointed to the URL http://web.me.com/username/EntrySiteName/. Then it won't matter which site is the last published site.
    My tutorial site, http://toadstutorials.info, is setup with the simple URL forwarding with masking. Then down side to masking is that visitors can only bookmark the first/entry page of the site.
    OT

  • Portal Alias URL Redirect

    Hello,
    i have a little problem to solve in my company. We have updated our SAP NetWeaver Portal 4 months ago. Bevore the update there was the possibility to use an alias in webbrowser to start the portal. When the alias typed in you got redirected to portal/domain/irj/portal. Today you get redirected to portal/irj/portal. When you type in portal.domain you get redirected to portal/domain/irj/portal
    The problem ist that we get some problems with applications that requirred a full qualified dns name and the majority of our employees use the alias portal to start the portal.
    The DNS Entries are:
    portal --> server.domain
    portal.domain -->server.domain
    There is no Web-Dispatcher running.
    I think there is/was some settings in the AS Java or the ISS of the Windows Server.
    The question is: What is to do to get the full qualified dns name by typing "portal" at the webbrowser?
    If there were problems in understanding i will do my best to support.
    Many Thanks

    Hello,
    Please check the link on portal alieas http://help.sap.com/saphelp_nwce10/helpdata/en/6e/8590f1d6d349c9adc34c6a8085189b/content.htm
    for web dispatcher is not running please check whether message server of central services up or not and check all the related parameters are properly set or not or some one might be changed them.
    http://help.sap.com/saphelp_nw04/helpdata/EN/de/89023c59698908e10000000a11402f/content.htm
    You can also check the configuration of the SAP Web Dispatcher from the command line using
    sapwebdisp pf=<profil> -checkconfig  out put will give you return code for 0 for errors, 1 for  warnings,
    also check the trace files for SAP Web Dispatcher  dev_wdisp apart from this you can find details of the change history of the SAP Web dispatcher in SAP note 538405.
    Thank you,
    Shyam

  • DNS name lookup in clustering environment

              Hi,
              I have 2 managed servers hosted on different IP addresse in a cluster.
              I have configured Cluster address in weblogic console to these 2 IP addreses seperated
              by a comma.
              If I am doing lookup for a session bean from my application, which URL i should
              use in lookup?
              If I have a DNS name configured, how I should use it? Can I lookup using DNS name
              only?
              For Ex this is what I have done-
              I have 2 managed servers : 10.1.30.155 and 10.1.30.151
              I have configured cluster addresses to '10.1.30.155, 10.1.30.151'
              I am using url- 't3://DNSName' for Session Bean lookup.
              Can any one guide me on this?
              Thanks in advance.
              Prasanna
              

    Hi,
    For the manual create the CNO usually cause may issue, you'd better don't use that method.
    The related article:
    Windows 2008/ Windows 2008 R2 CNO Recovery
    http://blogs.technet.com/b/hugofe/archive/2010/03/11/windows-2008-windows-2008-r2-cno-recovery.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Retrieve the host name behind the radware url

    Hi,
    Is it possible to retrieve the host name behind the radware url in BI Publisher template?
    Thanks, R.

    Hi,
    Did you maintained the entry in below format
    12.123.23.23        srstfdf        srstfdf.shouse.com
      in hosts file. If it is already maintained in the above format. then check the error if it is DNS related maintain the entry in DNS.
    thanks,
    madhu

  • Navigation using Short URLs

    Hi,
    I need to navigate from one page to another using short urls. I have a page P1 with iView V1 in it. I have another page P2. The hierarchy is as folllows:
    Role R1
    ..|__ page P1
    ........ |__ iView V1
    ..|__ page P2
    By clicking on a link in iView V1, i need to navigate to page P2 using short urls.
    I am passing the long url of page P2 (ROLES://portal_content/.../roleR1/pageP2...) as a iView property to V1.
    Can someone provide the code as to how to retrieve the short url(hashed valued) from the long url and how to navigate to page P2.
    Any help is appreciated.
    Regards,
    Melwyn.

    Hi Romano,
    Thanks for the reply.
    I tried the code snippet you gave me.
    However the method getNavigationNodeHashedName() is not appearing in the list of methods.
    I am only able to see the methods getInitialNodes(), getFirstNode(), getNode(), getNodes() and getNodeByQuickLink().
    Following is my import statement.
    import com.sapportals.portal.navigation.INavigationService;
    The jars that i am using are com.sap.portal.navigation.api_service_api.jar and com.sap.portal.navigation.service_api.jar.
    NWDS ver 7.0.15
    Portal ver 2004s SP 15
    Regards,
    Melwyn.

Maybe you are looking for