Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Admin Virtual Hosts Problem

Featured Replies

I open up start.bat or whatever it's called. Then the apanel comes up and I scroll down under tools and click on Admin Virtual Hosts and I get this error:

 

» Virtual Host

Error in path to your hosts-file!

 

How do I fix this? Thanks

  • Author

nvm, I figured out that part, but here is the real problem!

 

You have 1 hosts in your httpd.conf file: 
localhost:80

Error in hosts file: localhost:80 does not exist

 

This is the pre-exisiting one, now why does localhost not exist when the server is started.

  • 5 years later...

nvm, I figured out that part, but here is the real problem!

 

You have 1 hosts in your httpd.conf file: 
localhost:80

Error in hosts file: localhost:80 does not exist

 

This is the pre-exisiting one, now why does localhost not exist when the server is started.

 

 

So what was the fix please.. been looking for 4 days now.

Thank you

Edit your “host” file!

For XP found in folder C:\WINDOWS\system32\drivers\etc

Add line:

127.0.0.1 localhost:80

Edit your “host” file!

For XP found in folder C:\WINDOWS\system32\drivers\etc

Add line:

127.0.0.1 localhost:80

 

Trying that.. It is a round robin, trying to find something that should be a simple fix. but finding the info is terrible..the errors are

[19-Feb-2011 23:09:52] PHP Notice:  Undefined index:  submit in G:\home\admin\www\mqsetup.php on line 43

[19-Feb-2011 23:09:52] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\mqsetup.php on line 114

[20-Feb-2011 01:16:02] PHP Notice:  Undefined index:  windir in G:\home\admin\www\vhost.php on line 21

[20-Feb-2011 01:16:12] PHP Notice:  Undefined index:  submit in G:\home\admin\www\apsetup.php on line 24

[20-Feb-2011 01:16:12] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\apsetup.php on line 64

[20-Feb-2011 01:16:27] PHP Notice:  Undefined index:  submit in G:\home\admin\www\psetup.php on line 24

[20-Feb-2011 01:16:27] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\psetup.php on line 64

[21-Feb-2011 10:44:42] PHP Notice:  Undefined index:  submit in G:\home\admin\www\migrate.php on line 17

[21-Feb-2011 10:44:42] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\migrate.php on line 73

[21-Feb-2011 10:44:42] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\migrate.php on line 84

[21-Feb-2011 10:45:18] PHP Notice:  Undefined index:  windir in G:\home\admin\www\vhost.php on line 21

SO I gave up trying to use the admin panel to make VHost and made a VirtualHost manually in httpd.conf under and a funny thing I have never experenced before .. I get a 403 error saying i need to log in. and I remed out the htaccess in /www and put the virtualHost in a sub of /www/var.

 

It has to be a config thing that I can not find. ;)

Christine

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.