aspose file tools*
The moose likes Portals and Portlets and the fly likes Changing URL from IP to Domain Name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Changing URL from IP to Domain Name" Watch "Changing URL from IP to Domain Name" New topic
Author

Changing URL from IP to Domain Name

S Nikam
Greenhorn

Joined: Dec 28, 2010
Posts: 11
Hi All,

I have one portal deployed in the Websphere Application Server with the curent URL as
http://10.0.0.0:9080/portal/test.action
Now I want to change this URL to domain name as "http://myportal.com.uk"

How I can do this?
Do I need to change any configuration file in WAS?
Please help.

Thanks,
ssn
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
Well, you need to have WAS wait on port 80 rather than 9080. That would be a WAS configuration change. You will probably have to change your network to associate http://myportal.com.uk with IP address 10.0.0.0. Those changes could be anywhere from your local hosts file to your DNS server to registering your domain name on the Internet.
S Nikam
Greenhorn

Joined: Dec 28, 2010
Posts: 11
Thanks a lot Tom for the answer.
Now I am able to access FQDN with port number as below,
http://myportal.com.uk:9080/portal/test.action
Suppose now I want to remove the port number from URL,then how i can proceed.
You are saying the,'WAS wait on port 80 rather than 9080' but I am not using any webserver,only WAS.
Please help.

Thanks,
ssn
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
If you Google websphere application server how to change port, you will get a lot of hits that look to be of value.
Vanitha Varadhan
Greenhorn

Joined: May 28, 2012
Posts: 1
Hi Friends,

Actually i have developed the web application in apache tomcat jetspeed. Now i am planning to host my web application to internet.
I have mapped my ip address in host file like my localhost to myapplication.mycompany.com.

But if i provide my link like "https://myapplication.mycompany.com" is not working. But if i mentioned in host file like "localhost to myapplication" its working fine.

Wher i am going wrong or need to do anyother configuration other than the host file.

Thanks in advance.
Vani
 
jQuery in Action, 2nd edition
 
subject: Changing URL from IP to Domain Name