
13th September 2006, 20:56
|
|
Member
|
|
Join Date: Aug 2006
Posts: 50
Thanks: 0
Thanked 2 Times in 1 Post
|
|
problem creating anew site.
i have created a new site and when i enter the my address i get a page that says use the address and not the ip. i am not sure what i am doing wrong....
Last edited by resnostyle; 15th September 2006 at 18:25.
|

14th September 2006, 09:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 Posts
|
|
You must set the correct IP in the website settings, when you are behind a router, the correct IP is your internal IP.
|

14th September 2006, 18:16
|
|
Member
|
|
Join Date: Aug 2006
Posts: 50
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Quote:
|
Originally Posted by till
You must set the correct IP in the website settings, when you are behind a router, the correct IP is your internal IP.
|
what is this usually under? i see several places where ip address can go.
aslo i am not behind a router, when i run ifconfig i get to address one is inet addr and the other is bcast. should i use the bcast?
|

14th September 2006, 20:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
What's the output of ? What's in your Vhosts_ispconfig.conf?
|

14th September 2006, 20:39
|
|
Member
|
|
Join Date: Aug 2006
Posts: 50
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Code:
eth0 Link encap:Ethernet HWaddr 00:E0:29:1B:4A:16
inet addr:204.94.101.XXX Bcast:204.94.101.XXX Mask:255.255.255.128
inet6 addr: fe80::2e0:29ff:fe1b:4a16/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:531910 errors:0 dropped:0 overruns:0 frame:0
TX packets:21171 errors:0 dropped:0 overruns:0 carrier:0
collisions:4349 txqueuelen:1000
RX bytes:117982094 (112.5 MiB) TX bytes:14553000 (13.8 MiB)
Interrupt:9 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1544 errors:0 dropped:0 overruns:0 frame:0
TX packets:1544 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93956 (91.7 KiB) TX bytes:93956 (91.7 KiB)
whats the directory for the vhosts folder?
|

15th September 2006, 09:55
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
Quote:
|
Originally Posted by resnostyle
whats the directory for the vhosts folder?
|
It depends on your distribution. Normally it's /etc/apache2/vhosts or /etc/httpd/vhosts or something like that. You can search for it:
Code:
updatedb
locate Vhosts_ispconfig.conf
|

15th September 2006, 22:44
|
|
Member
|
|
Join Date: Aug 2006
Posts: 50
Thanks: 0
Thanked 2 Times in 1 Post
|
|
Quote:
|
Originally Posted by falko
It depends on your distribution. Normally it's /etc/apache2/vhosts or /etc/httpd/vhosts or something like that. You can search for it:
Code:
updatedb
locate Vhosts_ispconfig.conf
|
when i issued the command i got
Code:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 204.94.101.1xx:80
<VirtualHost 204.94.101.1xx:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
NameVirtualHost 204.94.101.1xx:80
<VirtualHost 204.94.101.1xx:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.visualadditions.co.nr/:80
######################################
#
#
<VirtualHost 204.94.101.1xx:80>
ServerName www.visualadditions.co.nr/:80
ServerAdmin webmaster@visualadditions.co.nr/
DocumentRoot /var/www/web18/web
ServerAlias visualadditions.co.nr/
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web18/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web18/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web18/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web18/phptmp/
php_admin_value session.save_path /var/www/web18/phptmp/
all the x's are the same address...
|

16th September 2006, 12:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 Posts
|
|
Please remove the / at the end of the domain name in the ISPConfig website settings. You must enter "visualadditions.co.nr" in the domain field and not "visualadditions.co.nr/".
|

21st September 2006, 03:56
|
|
Member
|
|
Join Date: Aug 2006
Posts: 50
Thanks: 0
Thanked 2 Times in 1 Post
|
|
made changes and still unable to access page...
*I AM NOW BEHIND A ROUTER! * is this configed right?
Code:
###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.x:80
<VirtualHost 192.168.1.x:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.visualadditions.co.nr:80
######################################
#
#
<VirtualHost 192.168.1.x:80>
ServerName www.visualadditions.co.nr:80
ServerAdmin webmaster@visualadditions.co.nr
DocumentRoot /var/www/web18/web
ServerAlias visualadditions.co.nr
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web18/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web18/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode On
php_admin_value open_basedir /var/www/web18/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/web18/phptmp/
php_admin_value session.save_path /var/www/web18/phptmp/
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
|

21st September 2006, 11:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 32,066
Thanks: 697
Thanked 4,246 Times in 3,259 Posts
|
|
This looks fine.
And you are sure that the domain www.visualadditions.co.nr is pointing to your routers external IP address and you forwarded port 80 and 443 from the router to the IP used in the vhost file. Have you tested this from outside your local network?
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:16.
|
Recent comments
1 day 2 hours ago
1 day 4 hours ago
1 day 16 hours ago
1 day 19 hours ago
1 day 23 hours ago
2 days 5 hours ago
2 days 15 hours ago
2 days 16 hours ago
3 days 59 min ago
3 days 2 hours ago