Jump to content

404 Page not found


Biocide

Recommended Posts

OS: Ubuntu (dapper)

Tool: Webmin

 

The Problem:  I am able to connect to my virtual servers on localhost via the unique IP address that i have given each one of them.  However I am not able to view the page when typing in just the domain name.  I'm sure the answer to this is easy, but i've just been running into brickwalls all day.

Link to comment
https://forums.phpfreaks.com/topic/36531-404-page-not-found/
Share on other sites

You need to define them within your /etc/hosts file. An extract from mine might give you an example.

 

127.0.0.1   oblivion.thorpesystems.com  oblivion    localhost

####################################################
# Router.
10.1.1.1    dlink.thorpesystems.com     dlink

####################################################
# My main machine (Dell).
10.1.1.2    oblivion.thorpesystems.com  oblivion

####################################################
# My iMac.
10.1.1.3    utilserv.thorpesystems.com  utilserv

# Webserver.
10.1.1.3    thorpesystems.com
10.1.1.3    www.thorpesystems.com
10.1.1.3    mail.thorpesystems.com
10.1.1.3    overlay.thorpesystems.com
10.1.1.3    blog.thorpesystems.com
10.1.1.3    drupal.thorpesystems.com

####################################################
# My firewall machine.
10.1.1.4    firewall.thorpesystems.com  firewall

####################################################
# My laptop.
10.1.1.5    toshi.thorpesystems.com     toshi

####################################################
# Storage
10.1.1.6    store.thorpesystems.com

####################################################
# CVS / Mysql / Postgres.
10.1.1.7    cvs.thorpesystems.com      cvser
10.1.1.7    mysql.thorpesystems.com
10.1.1.7    postgres.thorpesystems.com

####################################################
# Stace's
10.1.1.100  stace.thorpesystems.com     stace

Link to comment
https://forums.phpfreaks.com/topic/36531-404-page-not-found/#findComment-173995
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.