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.

Multiple Websites

Featured Replies

I did a quick search for "multiple websites" but didn't find anything, so I hope someone can help.

 

How would I go about hosting more than one website on one instance of Uniform Server?

 

 

 

 

Thanks,

 

Selym

I did a quick search for "multiple websites" but didn't find anything, so I hope someone can help.

 

How would I go about hosting more than one website on one instance of Uniform Server?

Thanks,

 

Selym

 

Hi Selym,

 

You can host multiple sites on one Uniform Server by creating separate folders for each site in:

 

Uniserver>Udrive>www folder. For example:

 

Uniserver>Udrive>www>Site1

Uniserver>Udrive>www>Site2

etc.

 

Then, point your browser to each appropirate site to open it, such as:

http://localhost/Site1

http://localhost/Site2

etc.

 

Hope that helps.

Cheers! - nojiri

  • Author

Hi nojiri,

 

Thanks for the quick reply. So it's that easy, huh? And then just point the domain name to the subdirectory instead I'd imagine, huh? Cool, thanks again. I appreciate it.

 

 

Selym

 

 

Hi Selym,

 

You can host multiple sites on one Uniform Server by creating separate folders for each site in:

 

Uniserver>Udrive>www folder. For example:

 

Uniserver>Udrive>www>Site1

Uniserver>Udrive>www>Site2

etc.

 

Then, point your browser to each appropirate site to open it, such as:

http://localhost/Site1

http://localhost/Site2

etc.

 

Hope that helps.

Cheers! - nojiri

Hi nojiri,

 

Thanks for the quick reply. So it's that easy, huh? And then just point the domain name to the subdirectory instead I'd imagine, huh? Cool, thanks again. I appreciate it.

Selym

 

Hi Selym,

 

You don't need to point your browser to any subdirectories. Once you build (or transfer) each site in its respective folder, point your browser to: http://localhost/foldername (foldername is of course whatever you name your site's folder) and it should get you to your site's front page. From there you should be able to navigate as you would a live site. You'll also need to create separate databases corresponding to each site, which you can do through phpMyAdmin in the Uniserver apanel.

 

Cheers! - nojiri

  • 9 years later...

I know this is a really old post but it seemed like the right place to ask.

 

Does setting up multiple websites with this method affect the speed of the websites? Currently, it is very slow and I'm trying to figure out why. (About 12 seconds page load speed)

  • 1 year later...

More likely that your page load speed is a php script that is working slowly - either the script itself is inefficient or it is a slow database query.

Of course there's also the problem of teh computer not being powerful enough.

I run my US setup on a single core PC and like you i have sluggishness for one of my virtualhosts. If i moved it onto my other machine (8 cores) it would run pretty much instantly... and sound like concorde.

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.