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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2011, 14:37
Osa2Unx Osa2Unx is offline
Junior Member
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to access my 1st site

Hi all,

I have installed ubuntu on my server 11.10 and installed ispConfig 3.0 with the walktrough tutorial on the site. Everything is okay.
So I added my first site via the control panel and now I want to access this site.
Problem is I don't get to access it.

When I go to the public ip address of my site I see the IT WORKS! index default site from apache2.

so i go to http://publicip/www.belseledorp.be to see the index.html file in the /var/www/web/www.belseledorp.be directory.

However I get Error

Quote:
Forbidden

You don't have permission to access /www.belseledorp.be/ on this server.
Apache/2.2.20 (Ubuntu) Server at stormserver.tcs-computers.be Port 80
Any ideas why this is?
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2011, 14:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,476
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

You acn not access a namebased apache vhost by IP address. To access the website www.belseledorp.be in a webbrowser, enter:

http://www.belseledorp.be

into the URL bar of the browser and not http://publicip/www.belseledorp.be
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th November 2011, 14:58
Osa2Unx Osa2Unx is offline
Junior Member
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As this is for me a test server I don't own the website www.belseledorp.be

So I don't have dns settings for the domain to point to my publicip

I want to test out all the features of ispConfig

So I created a fictive website. And now I want to access the index page to see all is working.

When you go to http://stormserver.tcs-computers.be
You see the default it works!
So, I need to access the new website

I think this should work.
The ip is 46.19.35.190
Reply With Quote
  #4  
Old 4th November 2011, 15:01
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,476
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
I think this should work.
The ip is 46.19.35.190
No, this can not work. Apache namebased vhosts can not be accessed by IP address.

See here how to access a namebased vhost without valid dns record:

http://www.faqforge.com/linux/contro...-a-dns-record/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 4th November 2011, 15:13
Osa2Unx Osa2Unx is offline
Junior Member
 
Join Date: Nov 2011
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What would be the easiest way to check that my server is running correct and the control pannel is working correct to.

register a domain name?
just for testing purposes?

Why is this that a website is not available via vhost ip?
And the standard website is available via the ip?

When I go to /var/www/ I see index.html -> this is availabel
when I go to /var/www/www.tcs-computers.be/web/index.html -> this is not availalbe. (online I mean) it is availaible in the directorys.

I think it can only have something to do with rights chmod etc...
Do get the site being displayed.
Reply With Quote
  #6  
Old 4th November 2011, 15:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,476
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Your server is working correctly. If you want to test it, read the FAQ record I posted above on how to access a namebased vhost.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Postfix often finds MySQL inaccessible ande General 19 7th November 2012 17:53
MySQL Error Nolan Installation/Configuration 12 16th February 2011 02:15
I just need one website...... showe1966 Installation/Configuration 21 19th September 2007 23:20
SSL Only site (disable HTTP access) letic General 3 20th July 2006 12:17
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26


All times are GMT +2. The time now is 21:22.


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