IP address issue

Discussion in 'Installation/Configuration' started by tjw, Apr 23, 2012.

  1. tjw

    tjw New Member

    I have had my server running for several months now, just displaying a personal page of mine to the public but recently I've decided to advance further into the web and install some new software. (Things such as WordPress). I initially installed using Falkos perfect server with Nginx and ispconfig3. My issue is that I cannot access phpmyadmin. I get a 404 error.

    Now, You might ask "have you created an ip address for your environment". My answer is no. Here is why, I have used the (*) for many months and it works correctly, I created an ip (192.168.0.111) for my client and used the ip for the website. Using the generated IP, My site does not display itself. Instead, it displays the default page for Nginx.

    This is clearly an issue that I should have resolved long ago but I figured that since everything was working correctly, I wouldn't mess with it. Thanks ahead of time.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You must use a domain name (e.g. example.com or www.example.com) to access your web site because ISPConfig configures name-based vhosts, not IP-based vhosts.

    BTW, you can access phpMyAdmin under http://<your-ip-or-hostname>:8081/phpmyadmin - this is described in the ISPConfig 3 Manual.
     
  3. tjw

    tjw New Member

    Yes I have my domain name all set up with custom nameservers. I just want to assign each website an internal IP as suggested by many people when creating a website. When I use (*) for my ip4, I can access my page correctly through the domain name. When I assigned it a custom IP (going into system and creating one, then selecting it on the website page of ispconfig) it just shows the default Nginx page, rather than my website. Each time, all I do is type my domain into the web browser.

    I hope that makes sence. Thank you for the reply.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    If your server is behind a router, your router can forward a port to just one IP. So if you forward port 80 to 192.168.0.110 (just an example), but then use 192.168.0.111 for the website, this cannot work.
     

Share This Page