Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
Multiple Sites in Root Folder?
Old 11-02-2009, 01:14 PM Multiple Sites in Root Folder?
lemondime's Avatar
Skilled Talker

Posts: 53
Location: San Jose, California
Trades: 0
Hey There,

I installed MAMP on my computer to test sites locally. I installed Wordpress locally and got that to work fine. Now however, I am starting to build up another site and want to test the new site out, but do not know how to structure the root folder in such a way that would allow me to preview the sites. I created a folder titled "wordpress" for the wordpress and "macftw" for the new site and now when I navigate to the root directory I get this screen:

And when I click the "wordpress" folder I get the site, but it's completely un-styled as pictured:


Why is the wordpress site un-styled? I moved everything to that folder including the CSS files. Can anyone point me in the right direction? Also, if anyone knows of an introduction to this topic that I can read up on that would be awesome!

Thanks in advance! I really, really appreciate any and all help =)
__________________
Cheers,
lemondime
lemondime is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2009, 04:11 PM Re: Multiple Sites in Root Folder?
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
You need to activate virtualHosts in the apache server, and to define the domain names that are associated with your server via an /etc/hosts modification.

Look here for detailed instructions:
http://www.sawmac.com/mamp/virtualhosts/
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 11-02-2009, 04:34 PM Re: Multiple Sites in Root Folder?
ldcdc's Avatar
Hosting watcher

Posts: 1,111
Name: Daniel
Trades: 0
Quote:
I moved everything to that folder including the CSS files.
Maybe you've used an absolute URL instead of a relative one, resulting in the CSS file not being loaded?

This looks more like a web design issue than a hosting/server issue to me.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ldcdc is offline
Reply With Quote
View Public Profile Visit ldcdc's homepage!
 
Old 11-03-2009, 09:54 AM Re: Multiple Sites in Root Folder?
Ultra Talker

Posts: 339
Trades: 0
lemondime, it looks your CSS doesn't get loaded. Could you copy/paste source of your WP blog (only section which includes css file)?
__________________
Daniel, Helpdesk Leader

Please login or register to view this content. Registration is FREE
- First class web hosting services.

Please login or register to view this content. Registration is FREE
- Provide unlimited disk space and bandwidth!
Hosting24 is offline
Reply With Quote
View Public Profile
 
Old 11-03-2009, 10:46 AM Re: Multiple Sites in Root Folder?
lemondime's Avatar
Skilled Talker

Posts: 53
Location: San Jose, California
Trades: 0
Quote:
Originally Posted by tripy View Post
You need to activate virtualHosts in the apache server, and to define the domain names that are associated with your server via an /etc/hosts modification.

Look here for detailed instructions:
http://www.sawmac.com/mamp/virtualhosts/
I don't have a solid grasp on file structure yet and I think that's why I wasn't able to get this to work. I'll keep trying though.

Quote:
Originally Posted by ldcdc View Post
Maybe you've used an absolute URL instead of a relative one, resulting in the CSS file not being loaded?

This looks more like a web design issue than a hosting/server issue to me.
Quote:
Originally Posted by Hosting24 View Post
lemondime, it looks your CSS doesn't get loaded. Could you copy/paste source of your WP blog (only section which includes css file)?
I re-installed wordpress and everything works now. I don't know what went wrong, but it all works fine now. Thanks for all the suggestions and help
__________________
Cheers,
lemondime
lemondime is offline
Reply With Quote
View Public Profile
 
Old 11-04-2009, 06:13 AM Re: Multiple Sites in Root Folder?
~ServerPoint~'s Avatar
Defies a Status

Posts: 1,687
Name: Travis
Trades: 0
Quote:
Originally Posted by lemondime View Post
I re-installed wordpress and everything works now. I don't know what went wrong, but it all works fine now. Thanks for all the suggestions and help

Sometimes that is recommended to reinstall everything. You might not noptice anything during previous installation. And that might not depend on you at all.
Just reinstall and that's it
__________________
ServerPoint.com - a true hosting company since 1998
Web Hosting, colocation,
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
~ServerPoint~ is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Multiple Sites in Root Folder?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.55833 seconds with 12 queries