Jump to content

anwoke8204

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by anwoke8204

  1. just found out that I can access the subdomains/folders on my sites ie. http://rooksystems.no-ip.biz/phpbb and any of the sub folders, but I can't view/access any of the home pages.  any idea as to why?
  2. Hi, I have configured vhosts on my server.  I use multiple sites and only 1 ip address.  before I configured virtual hosts on my server all I had to do was type in the server ip address 192.168.1.10/(site folder here) and I could see the site.  now since configuring the vhosts I can only see 1 of my 3 sites, and I only have to type in 192.168.1.10 it is as if it is defaulting to the first virtual host container(my main site) and denying me access to the other 2, the outside world can see all 2 sites but I can't.  here is my vhosts file, any ideas. # # Virtual Hosts # # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.2/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # ##NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any <VirtualHost> block. # ##<VirtualHost *:80> ## ServerAdmin webmaster@dummy-host.example.com ## DocumentRoot /www/docs/dummy-host.example.com ## ServerName dummy-host.example.com ## ServerAlias www.dummy-host.example.com ## ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log ## CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common ##</VirtualHost> ##<VirtualHost *:80> ## ServerAdmin webmaster@dummy-host2.example.com ## DocumentRoot /www/docs/dummy-host2.example.com ## ServerName dummy-host2.example.com ## ErrorLog @rel_logfiledir@/dummy-host2.example.com-error_log ## CustomLog @rel_logfiledir@/dummy-host2.example.com-access_log common ##</VirtualHost> <VirtualHost 127.0.0.1:80> ServerName localhost DocumentRoot "D:/xampp/htdocs" </VirtualHost> NameVirtualHost *:80 <VirtualHost *:80> ServerName rooksystems.no-ip.biz ServerAlias rooksystems.no-ip.biz ServerAdmin admin@rooksystems.no-ip.biz DocumentRoot "D:/xampp/htdocs/rooksystems" <Directory "D:/xampp/htdocs/rooksystems" > Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> CustomLog D:/xampp/htdocs/rooksystems/accesslog combined ErrorLog D:/xampp/htdocs/rooksystems/error.log </VirtualHost> <VirtualHost *:80> ServerName superstories.no-ip.biz ServerAlias wsuperstories.no-ip.biz ServerAdmin admin@superstories.no-ip.biz DocumentRoot "D:/xampp/htdocs/stories" <Directory "D:/xampp/htdocs/stories" > Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> CustomLog D:/xampp/htdocs/stories/accesslog combined ErrorLog D:/xampp/htdocs/stories/error.log </VirtualHost> <VirtualHost *:80> ServerName onebyte.no-ip.biz ServerAlias onebyte.no-ip.biz ServerAdmin admin@onebyte.no-ip.biz DocumentRoot "D:/xampp/htdocs/onebyte" <Directory "D:/xampp/htdocs/onebyte" > Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> CustomLog D:/xampp/htdocs/onebyte/accesslog combined ErrorLog D:/xampp/htdocs/onebyte/error.log </VirtualHost> and here is my windows hosts file: opyright (c) 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # #      102.54.94.97    rhino.acme.com          # source server #      38.25.63.10    x.acme.com              # x client host 127.0.0.1      localhost 192.168.1.10 rooksystems.no-ip.biz 192.168.1.10 superstories.no-ip.biz 192.168.1.10 onebyte.no-ip.biz any ideas? thanks in advance. I have been pulling my hair out.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.