Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2007, 00:27
tchubb tchubb is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default How To View Website Using The IP

hi
my ispconfig is on my home network and want to know how to view website by using the ip i think its something like http://IP_ADDRESS/~*****

anyone know ?????



chubb:
__________________
tchubb.co.uk
tom@tchubb.co.uk
ChUbB My$t3r
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2007, 02:15
Craig Craig is offline
Member
 
Join Date: Dec 2006
Posts: 56
Thanks: 1
Thanked 3 Times in 1 Post
Default

So you mean ISPConfig is on your home network and that you use some sort of dynamic DNS service to make available outside your network but you need to access it from inside the network, which means the dynamic DNS doesn't point to the right location because you can't go outside to come back inside to make the IP pointed to by the dynamic DNS service valid?

If that is the case, you should add an entry in the hosts file on your system that includes the domain name of the site you want to access that is inside your network and the NAT IP address that the internal server is at.

Or, if you are running a local DNS server inside your network add a DNS entry to that to point to your internal network.
__________________
cass-hacks.com
Reply With Quote
  #3  
Old 31st January 2007, 10:21
tchubb tchubb is offline
Junior Member
 
Join Date: Jan 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks for the reply but ......

bit of a newbe with dns could you talk me throught how to do add the correct dns entry
__________________
tchubb.co.uk
tom@tchubb.co.uk
ChUbB My$t3r
Reply With Quote
  #4  
Old 31st January 2007, 21:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Using IP addresses doesn't work anymore. But you might want to have a look here: http://www.howtoforge.com/forums/sho...s+file+windows
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 12th February 2007, 23:39
0xCAFEBABE 0xCAFEBABE is offline
Junior Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

I really need to be able to access one of my web site by its external IP address instead of its FQDN. The site in question already has a dedicated public/private ip address but each time I try to access it by its external ip adress I get the default shared ip page.

Would it be possible to specify a different document root for a specific private ip instead of the default one (/var/www/sharedip)?

Or any other hack to would let me do this?

Thanks

Christian
Reply With Quote
  #6  
Old 13th February 2007, 08:13
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,702
Thanks: 819
Thanked 5,319 Times in 4,172 Posts
Default

Please look at the link that falko posted above, it does exactly what you needs to access this site.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 13th February 2007, 14:41
0xCAFEBABE 0xCAFEBABE is offline
Junior Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Please look at the link that falko posted above, it does exactly what you needs to access this site.
Not quite! This is only useful to access web site internally without having to use a DNS system. I want to access one of my web site externally by its ip address!

Christian
Reply With Quote
  #8  
Old 13th February 2007, 15:33
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 264
Thanked 151 Times in 131 Posts
Default

Try this one for fun.

in the hosts file add:
Code:
85.10.207.148 www.yahoo.com
Exit your browser, and start it again to make it read the new hosts file

Now enter www.yahoo.com :-)

As you can see.. it's not only for internally
Reply With Quote
  #9  
Old 13th February 2007, 16:34
0xCAFEBABE 0xCAFEBABE is offline
Junior Member
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by edge
Try this one for fun.

in the hosts file add:
Code:
85.10.207.148 www.yahoo.com
Exit your browser, and start it again to make it read the new hosts file

Now enter www.yahoo.com :-)

As you can see.. it's not only for internally
Yep I know that!

But I should have mentioned that this is a requirement from a third party payment gateway and obviously I don't have access to their "hosts" file

This solution is only good for workstations on a LAN that you control and not the whole Internet...

Thanks anyway

Christian
Reply With Quote
  #10  
Old 13th February 2007, 16:56
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 264
Thanked 151 Times in 131 Posts
 
Default

Quote:
Originally Posted by 0xCAFEBABE
Hi!

I really need to be able to access one of my web site by its external IP address instead of its FQDN. The site in question already has a dedicated public/private ip address but each time I try to access it by its external ip adress I get the default shared ip page.

Would it be possible to specify a different document root for a specific private ip instead of the default one (/var/www/sharedip)?

Or any other hack to would let me do this?

Thanks

Christian
I see...

Here you are talking about that YOU need it..

I guess an option might be a .htaccesss file in the default website dir set for the "third party payment gateway" IP, and to redirect it to the correct place / path.

Not sure how this is done (if possible at all)
If it's possible, than the "third party payment gateway" needs to have a fixed IP!

Last edited by edge; 13th February 2007 at 16:59.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache not reading conf? /var/www directory displayed when visiting any ISPC website toodles Installation/Configuration 2 15th February 2007 23:06
Website Quota ? zephirus79 Installation/Configuration 1 29th November 2006 10:57
after install Apache..outside server cannot view webpage vktechnology Installation/Configuration 3 15th May 2006 15:51
Mysql assignation to a new website jeanjacquesjeanjacques Installation/Configuration 4 30th January 2006 17:53
debianhelp new website - www.debianhelp.co.uk gg234 Installation/Configuration 0 5th November 2005 18:18


All times are GMT +2. The time now is 16:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.