What is better for links - blah.com or the IP address?
Links - DNS or IP?
Collapse
This topic is closed.
X
X
-
CuriousTags: None -
Owen Jacobson
Re: Links - DNS or IP?
On Sun, 30 Nov 2003 15:57:36 +0000, Curious wrote:
[color=blue]
> What is better for links - blah.com or the IP address?[/color]
The DNS hostname. If the server is moved to a new physical network the IP
address will probably change, but the DNS entr(y|ies) will be updated to
point to the right place.
-
Davmagic .Com
Re: Links - DNS or IP?
[color=blue]
>From: nospam@blah.com (Curious)
>What is better for links - blah.com or the >IP address?[/color]
I once used IP's for some links... then my host decided to change my IP
and I suddenly couldn't figure out why some of my pages were not
loading! I went thru hell trying to figure it out, until I realized that
I had to change these links on every page...
Bottom line is: always use domain addys because they will never change
your domain name... only you can do that!
Web Design-Magic-Painting-Junking-Games
INFO 2000 For You
See how your webpages look on a MSN-TV Browser:
Download it here: http://developer.msntv.com/Tools/msntvvwr.asp
Comment
-
THANKS!
Re: Links - DNS or IP?
>What is better for links - blah.com or the IP address?
Answer: DNS
Thanks for the quick responses!
Comment
-
Alan J. Flavell
Re: Links - DNS or IP?
On Sun, 30 Nov 2003, Owen Jacobson wrote:
[color=blue]
> On Sun, 30 Nov 2003 15:57:36 +0000, Curious wrote:
>[color=green]
> > What is better for links - blah.com or the IP address?[/color][/color]
This (c.i.w.a.h) really is the wrong group to discuss server
configuration. I'd recommend either a specific servers group or some
higher-level web group where a wider view than just HTML authoring can
be taken.
[color=blue]
> The DNS hostname.[/color]
Neither. Define a name dedicated to the web server (by convention,
its name would begin with "www.", although this isn't mandatory), and
define that as a DNS CNAME aliased to the actual host name (A record).
[color=blue]
> If the server is moved to a new physical network the IP
> address will probably change, but the DNS entr(y|ies) will be updated to
> point to the right place.[/color]
That's right, as far as it goes. Also, URLs with IP addresses in them
are commonly used by spammers to obfuscate their web bugs and stuff:
so discerning users are likely to be suspicious of IP-address-based
URLs.
But if/when the server is moved to a different host, you'll be
grateful that you didn't make the mistake of publishing the host's
name as the web server name. We made that mistake with our first
server, about a decade[1] back, and spent a few years regretting it,
after the web server had to be moved to a new host and the rest of the
web just wouldn't stop presenting those old URLs.
The same if you decide to introduce load sharing across several hosts.
[1] Of course, that was before "name-based virtual hosting" became
feasible, which is another reason not to identify server names with
specific host names.
cheers
Comment
-
Stan Brown
Re: Links - DNS or IP?
In article <to4ksv4njgi45u h148a5ss09kkhk8 tj9n7@4ax.com> in
comp.infosystem s.www.authoring.html, Curious <nospam@blah.co m>
wrote:[color=blue]
>What is better for links - blah.com or the IP address?[/color]
Hint: Which is less likely to change in the future?
--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Comment
Comment