url adding .com automatically

Asked by sharrison29420

I have an internal website at work http://compassn1 . My issue is that when I type in this address in the address bar .com is automatically added to the end of the url and therefore the site will not connect correctly. Is there a solution to this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Solved by:
Andre Mangan
Solved:
Last query:
Last reply:
Revision history for this message
Micah Gersten (micahg) said :
#1

If a DNS lookup doesn't return anything for a certain url that doesn't have a TLD (.com, .net), Firefox will add .com to try to resolve it. If you're setup with DHCP, you can have it set to search certain domains for you.
If you're setup statically, you can add the following to /etc/network/interfaces:
After you define the iface, add the following line with your domain:
search example.com

The other option is to add an entry in /etc/hosts for compassn1.

Revision history for this message
Andre Mangan (kyphi) said :
#2

Firefox is set to remember what you have entered into your search bar. You can turn that off.

In Firefox, go to Edit, Preferences, Privacy and take the tick out of "Remember what I enter in forms and the search bar".

You might also consider (on the same page) under Private Data, to tick the box "Always clear my private data when I close Firefox".

Revision history for this message
Best Andre Mangan (kyphi) said :
#3

I was barking up the wrong tree with my comment above.

Here is the answer: http://support.mozilla.com/en-US/kb/Location+bar+search

Revision history for this message
sharrison29420 (sharrison29420) said :
#4

Thanks Andre Mangan, that solved my question.