Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
Accessing Web Site from it's IP
Old 06-28-2007, 03:32 PM Accessing Web Site from it's IP
Junior Talker

Posts: 3
Trades: 0
I signed up for a new virtual server and was surprised to learn that I could not access the site using the IP address. I'm moving my web site to this new provider and need to do some testing on it before I 'flip' the domain name IP switch - now I'll have to activate a temp domain name to point to it so I can test the site.

The support dept told me their servers are not setup to access via the IP because this is hit and miss thing...aka not reliable. Is this true? I've never heard of this before.

Thanks...
frank727 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-28-2007, 03:38 PM Re: Accessing Web Site from it's IP
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
What is your website?

Anyway, if you're not paying for a dedicated IP address, then you're on a shared IP address and access to your site would be xx.xxx.xxx.xx/~username.

And they are right, it is a hit and miss thing. A lot of times because of the URL that is being used to access the site, will cause issues with viewing items that are linked via the backslash.

For example, if you were to try to access a wordpress install on a temporary URL (ip address) and you had permalinks set up through htaccess to access it like post/date/title, it would show up as a 404.

Just switch the DNS over.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 06-28-2007, 05:15 PM Re: Accessing Web Site from it's IP
Junior Talker

Posts: 3
Trades: 0
OK thanks.

I can't just switch the DNS over - I have to test many things on the new VDS before I can release it to my customers. I've got a spare domain name I'm not using so I'm going to use that to test the new site with - will take about a day before it 'sees' the new server. Once I'm happy that the new VDS is working normally, I'll do the final domain switch over.

Thanks again for your comments...
frank727 is offline
Reply With Quote
View Public Profile
 
Old 06-28-2007, 05:19 PM Re: Accessing Web Site from it's IP
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
Have you ever considered testing in locally? If you need access to PHP/MySQL or something, you can always google for XAMPP and set that up.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 07-01-2007, 05:12 AM Re: Accessing Web Site from it's IP
Experienced Talker

Posts: 32
Trades: 0
http://shared_ip/~username should work...
__________________

Please login or register to view this content. Registration is FREE

Solid Support Solid Equipment Solid Network
General Manager - John K.
iHubNet is offline
Reply With Quote
View Public Profile
 
Old 07-01-2007, 06:50 AM Re: Accessing Web Site from it's IP
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
it's because the server are doing a virtual name hosting.
Every sites on the server refer to the same ip adress, and the server need the site's name in the request to know which one the present.

You can bypass this effect by locating a file named "hosts" (without quotes nor extention, in your windows\system32 folder

Then, you can add a line like this one:
Code:
192.168.3.5         myserver.com
Adapt the ip adress and the name accordingly.
This file is checked before doing a request on dns server, and if windows finds an entry in the form ip {space} name, then it use this results rather than querying the dns
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to Accessing Web Site from it's IP
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50318 seconds with 12 queries