If its a shared hosting server you usually access it like this...
http://xxx.xxx.xx.xx/~your
Main Topics
Browse All TopicsDear Experts,
I have a one server with an IP xxx.xxx.xx.xx
On this server i have 2 sites www.site1.com and www.site2.com
My domain name for site1 has expired but site2 is still working.
I need to work on site1 and want to see what its pages look like in the browser window
I can acess the site via ftp no problem but cant acess it through browser.
When i type in IP it shows me default PLESK page.
Is there any way of looking at my site with browser or should i get a domain name for it first.
I was hoping i could type something like http://xxx.xxx.xx.xx:somet
Any help would be appreciated,
Thank You, Hayden.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
If its a shared hosting server you usually access it like this...
http://xxx.xxx.xx.xx/~your
Hayden,
To clarify my original post, I should say that the REASON we need to add it to the host file, is because the remote server is using the host name as a method of differentiating the servers. it is a method of using one IP address to host multiple websites.
so if I wanted www.example.com and www2.example.com and even www.example2.com - to all be on one IP address, but still be able to be completely different websites, I would do it by using the virtual host directives in apache.
In order for you to "trick" the remote host into thinking that your domain is not expired - adding it to the host file as I noted above is the way to get around that - therefore your browser sends the data "www.site2.com" to the web server, but the host file allows your machine to "look up" the IP address without using DNS (since DNS won't work because the domain is expired)
make sense?
Business Accounts
Answer for Membership
by: Heem14Posted on 2005-09-26 at 12:05:20ID: 14961592
add it to the hosts file on your client.
s\etc\host s
etc\hosts
windows:
C:\windows\system32\driver
or
C:\winnt\system32\drivers\
Linux:
/etc/hosts
format is simply
ip address name
like this:
1.2.3.4 example.com