Operating System - HP-UX
1834149 Members
2366 Online
110064 Solutions
New Discussion

It also needs to replace URL

 
SOLVED
Go to solution
Asif_8
Regular Advisor

It also needs to replace URL

http://schedremote.tor.ca/citrix/metaframexp/wie
I don't want to have to keep typing the long URL in the browser. I just want to be able to type http://mfxptor.tor.ca which replaces the above. Can this be done?

How to define DNS i mean how add the entry in data file
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: It also needs to replace URL

I'm confused. Most browswers have bookmarks.

If you don't want to type the url, why not bookmark the url.

Maybe I'm missing an earlier thread here.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Asif_8
Regular Advisor

Re: It also needs to replace URL

I want do for user Can I do this by DNS CNAME
Patrick Wallek
Honored Contributor
Solution

Re: It also needs to replace URL

No, this can't be done via DNS. DNS is good for the host portion only. You can't set a DNS alias to host.domain.com/dir/dir/dir/file.

What could be done on the webserver itself is to have a page at something like

http://schedremote.tor.ca/ctx which would then automatically transfer them to http://schedremote.tor.ca/citrix/metaframexp/wie

This is more easily done via HTML and redirecting.
Steven E. Protter
Exalted Contributor

Re: It also needs to replace URL

Now I get it. Thanks Patrick.

You can do this with a combination of the web server and dns.

Get the second domain name. Set up its zone file exactly the same as the longer name.

Then in httpd.conf apache, set up a Virtual Host that points to the same file locations as the original domain name.

See http://httpd.apache.org Virtual Host section. Choose apache server version based on which one you are using.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com