Title: marek91's Replies | WordPress.org

---

# marek91

  [  ](https://wordpress.org/support/users/marek91/)

 *   [Profile](https://wordpress.org/support/users/marek91/)
 *   [Topics Started](https://wordpress.org/support/users/marek91/topics/)
 *   [Replies Created](https://wordpress.org/support/users/marek91/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/marek91/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/marek91/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/marek91/engagements/)
 *   [Favorites](https://wordpress.org/support/users/marek91/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Multisite local install with XAMPP – Subdomains](https://wordpress.org/support/topic/multisite-local-install-with-xampp-subdomains/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multisite-local-install-with-xampp-subdomains/#post-3280190)
 * Yes
 *   Forum: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
   
   In reply to: [Sub Domains – WP Multi Site Local Install](https://wordpress.org/support/topic/sub-domains-wp-multi-site-local-install/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/sub-domains-wp-multi-site-local-install/#post-3279759)
 * If anyone runs into this problem:
    1. Go to Settings > General in the dashboard.
    2. Ensure that the URL in `WordPress Address (URL)` matches `Site Address (URL)`
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [WordPress Multisite Local Development](https://wordpress.org/support/topic/wordpress-multisite-local-development/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-multisite-local-development/#post-2483776)
 * Hello Andrea_r
 * Thank you I opted to just add it the ServerAlias way as you suggested. What confuses
   me is they are exactly the same up until you change the theme on one of the sites.
   I expected there to be some different welcome page or something.
 * Anyways thank you again for your time.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [WordPress Multisite Local Development](https://wordpress.org/support/topic/wordpress-multisite-local-development/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-multisite-local-development/#post-2483741)
 * Thanks to all for your replies.
 * So I have my wordpress installation configured so I can reach it via:
 * [http://wordpress.dev](http://wordpress.dev)
 * I went through all the proper instructions and I set up the multisite feature.
 * Now I added:
 * 127.0.0.1 site1.wordpress.dev to the hosts file.
 * I added via network admin dashboard a new site which I of course named site1.
   wordpress.dev. Now when I click to go to the dashboard of site1.wordpress.dev
   I reach an error page.
 * This is leaving me thinking that I should add a virtual host named site1.wordpress.
   dev to the httpd-vhosts.config file in apache.
 * Here’s the problem…If I define document root as:
 * DocumentRoot “C:/xampp/htdocs/wordpress
 * then site1.wordpress.dev will be an exact copy of wordpress.dev.
 * How can I set this up so that site1.wordpress.dev is a new wordpress site not
   just a copy of wordpress.dev.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [WordPress Multisite Local Development](https://wordpress.org/support/topic/wordpress-multisite-local-development/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-multisite-local-development/#post-2483610)
 * Ok so I figured out how to change ‘localhost’ to any domain name. That is I can
   access [http://localhost/wordpress](http://localhost/wordpress) using [http://wordpress](http://wordpress).
   However what I’m wondering is if I were to access this ‘mirror’ site [http://wordpress](http://wordpress)
   and login as an administrator, would wordpress multisite allow me to add a new
   subdomain like [http://site1.wordpress](http://site1.wordpress).
 * Basically what I’m curious of is say I added this mirror domain. I would have
   two domains and one installation of wordpress (sharing the same wp-config file
   and such). If I enabled the multisite feature would wordpress view me as [http://localhost/wordpress](http://localhost/wordpress)
   or [http://wordpress](http://wordpress)?
 * I’m aware that all this can be found out by installing Xampp and testing these
   things out. But it would save me a lot of time if someone with experience in 
   this could help me out.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [WordPress Multisite Local Development](https://wordpress.org/support/topic/wordpress-multisite-local-development/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wordpress-multisite-local-development/#post-2483541)
 * Thanks for the reply Andrea_r.
    The last time I installed Xampp the location 
   of the wordpress url was something like [http://localhost/wordpress](http://localhost/wordpress),
   from there I set up the multisite feature as per usual and selected to make the
   network under sub-directories as it wouldn’t let me make it under sub-domains.
   Now I did attempt to add a fake domain like localhost/wordpress/site1 to the 
   hosts file. But since you aren’t allowed any / ‘s in the hosts file I couldn’t.
 * So I guess my question is this: is there any way I could set up Xampp so that
   my main site url would be something like [http://wordpress](http://wordpress)
   i.e. without the localhost.
 * Also, when you add a fake domain to the hosts file is there anything that should
   be added or uncommented in the .httpd and .httpd-vhosts files in apache?
 * I greatly appreciate your help on this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Calling Javascript In WordPress Pages](https://wordpress.org/support/topic/calling-javascript-in-wordpress-pages/)
 *  Thread Starter [marek91](https://wordpress.org/support/users/marek91/)
 * (@marek91)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/calling-javascript-in-wordpress-pages/#post-1775411)
 * Yes, I looked over that.
 * So far I’ve tried calling the script like so:
 * `<script type="text/javascript" src="http://www.unitconversion.org/converter3/
   converter3.js"></script>`
 * which didn’t change anything. I also tried uploading the sites JavaScript files
   to my site and called it as follows:
 * `<script>uc_datapath="/http://www.enggplusplus.org/conversion/converter3-engine/
   converter3.js"</script><script src=/http://www.enggplusplus.org/conversion/converter3-
   engine/converter3.js></script>`
 * and right beneath…
 *     ```
       <script type="text/javascript">
       <!--
       jx2_0();
       //--></script>
       ```
   
 * I put these codes directly into the HTML editor on WordPress pages.
    None of 
   them have worked for me, I have also tried contacting unitconversion.org multiple
   times but they have not replied of late.

Viewing 7 replies - 1 through 7 (of 7 total)