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.

How to configure virtual host

Featured Replies

i need to access 3 domains on my server.

I went through the following set up but niether the localhost or the websites were located.

Where have I gone wrong?

Set up steps.

I have set the dns to point at the server as follows

www.e-books4u.net / ip address 217.49.159.226

and so on for the other 2.

In my www folder I have set up 3 sub folders with the files in them named as follows

e-books4u

catering4cash

hawkesley

I have modified the conf file as follows

 

NameVirtualHost *

 

# VirtualHost example:

# Almost any Apache directive may go into a VirtualHost container.

# The first VirtualHost section is used for requests without a known

# server name.

#

#<VirtualHost *>

# ServerAdmin webmaster@dummy-host.example.com

# DocumentRoot /www/docs/dummy-host.example.com

# ServerName dummy-host.example.com

# ErrorLog logs/dummy-host.example.com-error_log

# CustomLog logs/dummy-host.example.com-access_log common

#</VirtualHost>

 

<VirtualHost *>

ServerName www.e-books4u.net

DocumentRoot/www/e-books4u

</VirtualHost>

 

<VirtualHost *>

ServerName www.catering4cash.com

DocumentRoot/www/catering4cash

</VirtualHost>

 

<VirtualHost *>

ServerName www.hawkesleypublishingsolutions.com

DocumentRoot/www/hawkesley

</VirtualHost>

 

NameVirtualHost *

<VirtualHost *>

ServerName localhost:80

DocumentRoot /www

</VirtualHost>

 

I stopped and restarted the apache server, not the machine.

  • Author

:)

i need to access 3 domains on my server.

I went through the following set up but niether the localhost or the websites were located.

Where have I gone wrong?

Set up steps.

I have set the dns to point at the server as follows

www.e-books4u.net / ip address 217.49.159.226

and so on for the other 2.

In my www folder I have set up 3 sub folders with the files in them named as follows

e-books4u

catering4cash

hawkesley

I have modified the conf file as follows

 

NameVirtualHost *

 

# VirtualHost example:

# Almost any Apache directive may go into a VirtualHost container.

# The first VirtualHost section is used for requests without a known

# server name.

#

#<VirtualHost *>

# ServerAdmin webmaster@dummy-host.example.com

# DocumentRoot /www/docs/dummy-host.example.com

# ServerName dummy-host.example.com

# ErrorLog logs/dummy-host.example.com-error_log

# CustomLog logs/dummy-host.example.com-access_log common

#</VirtualHost>

 

<VirtualHost *>

ServerName www.e-books4u.net

DocumentRoot/www/e-books4u

</VirtualHost>

 

<VirtualHost *>

ServerName www.catering4cash.com

DocumentRoot/www/catering4cash

</VirtualHost>

 

<VirtualHost *>

ServerName www.hawkesleypublishingsolutions.com

DocumentRoot/www/hawkesley

</VirtualHost>

 

NameVirtualHost *

<VirtualHost *>

ServerName localhost:80

DocumentRoot /www

</VirtualHost>

 

I stopped and restarted the apache server, not the machine.

 

 

I have solved the problem by using the apanelto create the virtual hosts and all seems well.

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.