FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


get specific site at shared ip





jasperlevink
Hello Folks!
How can I get a specific site at a shared ip.
if you just type in the ip-address (xxx.xxx.xxx.xxx) you get the standard site. How can I directly get the others? Are these different ports or something?

Thanks.
Daniel15
Hi,
If you're on a host with a shared IP address, you can access a site by putting a '~', and then the username after it. For example, http://216.32.68.250/~yourusername/ is your website if you're on server 1, and http://216.32.85.170/~yourusername/ is your website if you're on server 2.

Quote:
Are these different ports or something?

No, they're all on the same port, it's just using different 'virtual hosts'. The request to the server looks a bit like this:

Code:

GET / HTTP/1.1
[...more stuff here...]
Host: www.domain.frihost.net

Notice the 'Host:' header. That's what tells the server what site you want. If it doesn't recognise the host, you get the 'No website is configured at this address' cPanel message, or a similar DirectAdmin one.
n0obie4life
Very Happy.

I changed some variables in Daniel15's posts, hope you don't mind.
Daniel15
n0obie4life wrote:
Very Happy.

I changed some variables in Daniel15's posts, hope you don't mind.

I changed my post a bit as well; to provide examples for server 2.
jasperlevink
Is this for all hosts the same?
It's not frihost...

Thanks.
n0obie4life
jasperlevink wrote:
Is this for all hosts the same?
It's not frihost...

Thanks.


It's for Frihost only.

Depending on how other hosts work, they can be the same method, just change the IP Address.
Daniel15
n0obie4life wrote:
jasperlevink wrote:
Is this for all hosts the same?
It's not frihost...

Thanks.


It's for Frihost only.

Depending on how other hosts work, they can be the same method, just change the IP Address.

This will work on all other web hosts using DirectAdmin, cPanel, or another control panel (like ISP-Config). Just use their IP address instead.
Related topics
ip address
how to set up a server
Firefox crashes!!
Firefox website,
Dreamweaver
[RESOLVED]Does anyone know how to block a specific site...
ask help (domain hosting problem)
I need a counter I pay 100 to 200 FRIH$
How to ban someone's IP from accesing my site?
This has bugged me for a while...
Google and Static Ip's - Does Google Penalize Shared Ip's?
Domain?
Shared IP
Browsing my web site via IP
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.