finished site

You can ask general questions about MAMP here.

Moderator: severin

finished site

Postby cgarnham » Sun Oct 25, 2009 9:36 pm

Once the site I'm building is finished on my MAMP server, how do I get it to the live server? Once there, won't all the links within the site remain relative to my computer and therefore broken?
User avatar
cgarnham
 
Posts: 3
Joined: Sun Oct 25, 2009 7:52 pm

Re: finished site

Postby ndewan456123 » Mon Oct 26, 2009 12:12 pm

hey dude
i am really sorry but i will not be able to answer your query as i m also suffering from the same problem i have my my own website, it is complete but i am helpless as i m not able to lauch it due to same problem
bro i insist in case u get any answer please revert back me as soon as possible
ndewan456123
 
Posts: 1
Joined: Mon Oct 26, 2009 12:08 pm

Re: finished site

Postby Dirk Einecke » Tue Oct 27, 2009 8:36 am

Hi,

to move your site to the live server you have to transfer the folders/files via ftp to your live server and you have to create a database dump and import the dump in your live database. Don't forget to change the user name and password of your database in your config file of your website.

All links will be okay if you have use links like this:
<a href="/foo/bar.php">foo bar</a>
or
<a href="../../foo/bar.php">foo bar</a>

greetings
Dirk Einecke
Best Regards / Mit freundlichen Grüßen
Dirk Einecke (MAMP-Team)

All about MAMP & MAMP PRO: Website | Bugbase | Blog (german) | Blog (english) | NEW: Online documentation (Wiki)
MY MAMP DUMP - Mac OS X Automator workflow to dump databases of MAMP and/or MAMP PRO.

MAMP & MAMP PRO 1.9 released (with PHP 5.3) | MAMP & MAMP PRO 1.9 veröffentlicht (mit PHP 5.3)
Dirk Einecke
Site Admin
 
Posts: 573
Joined: Thu Nov 04, 2004 11:11 am
Location: Karlsruhe (Germany)

Re: finished site

Postby cgarnham » Tue Oct 27, 2009 1:34 pm

Perhaps this has been an unfair question. The answer was known to me already: FTP and export/import the database.
The question came up while I was struggling with getting CBSubs plugin, part of Community Builder which is itself part of a Joomla site, to install (via onCube PHP Loader); but that's another thread. I had copied my Joomla site and its database to another laptop I own upon which I had installed an XAMPP system. That process was much the same as FTP'ing.
The site there broke because much of the internal links referenced file locations on my Mac and were, therefore, lost on the Windows machine.
Perhaps this is not a MAMP issue at all. Perhaps it is a Joomla issue. If so, sorry for the interruption.
User avatar
cgarnham
 
Posts: 3
Joined: Sun Oct 25, 2009 7:52 pm

Re: finished site

Postby animeunleashed » Thu Dec 17, 2009 8:35 am

Hey Dirk.
Is there a step-by-step manual of some sort for putting a website into the live server?
animeunleashed
 
Posts: 2
Joined: Thu Dec 17, 2009 8:20 am

Re: finished site

Postby Dirk Einecke » Thu Dec 17, 2009 10:04 am

Hi,

animeunleashed wrote:Is there a step-by-step manual of some sort for putting a website into the live server?

Yes.

1. Copy the files via FTP
2. Make database dump locally
3. Import database dump on your live server

That's all. :-)

Dirk
Best Regards / Mit freundlichen Grüßen
Dirk Einecke (MAMP-Team)

All about MAMP & MAMP PRO: Website | Bugbase | Blog (german) | Blog (english) | NEW: Online documentation (Wiki)
MY MAMP DUMP - Mac OS X Automator workflow to dump databases of MAMP and/or MAMP PRO.

MAMP & MAMP PRO 1.9 released (with PHP 5.3) | MAMP & MAMP PRO 1.9 veröffentlicht (mit PHP 5.3)
Dirk Einecke
Site Admin
 
Posts: 573
Joined: Thu Nov 04, 2004 11:11 am
Location: Karlsruhe (Germany)

Re: finished site

Postby nycentral13 » Sat Jan 16, 2010 5:20 pm

I'm with you amineunleashed - I find Dirk's answer is too trite. As a n00b, I have so many questions regarding each of his "three steps"! Which files do I ftp - the whole WP folder? What files get dumped? Thats the localhost.sql file? Do I have to go in with a text editor on that file and do a find & replace on all the references to http://localhost:8888? Its probably a piece of cake for him, but I don't do this for a living - in fact, if I can get this up and working, I probably will never do it again! My circumstance is that I have a live working Wordpress installation on my site and I have successfully developed a second Wordpress blog on my localhost using MAMP for a nonprofit historical group I am a member of. I now want to take the new site live online under a subdirectory on my online site, so that I can demo it to my friends in the group for comment and tweaking before it gets its own host and url. I should have just started off online in the subdirectory and got that working and skipped the localhost step! Live and learn then forget!

Just seems strange that after all the step by step, detailed explanations with screen shots, of how to get Wordpress running locally using MAMP (im good at following directions!), I can't find the same level of help to migrate my site online.

Can anyone point me to a step by step guide with screenshots?

Thanks!

Eric

Mac OS X / ISP: Bluehost / Wordpress / Cyberduck / BBEdit Lite
nycentral13
 
Posts: 1
Joined: Sat Jan 16, 2010 4:52 pm

Re: finished site

Postby jasonh1234 » Sun Mar 07, 2010 12:25 am

Dirk... Please read nycentral13's last post again.
He's 100% right.

You assume people know more than they do and just leave us feeling frustrated and lost.

Part of my daily job is that I instruct people on computers. Most are TOTAL newbs.
Good instructors don't say things like: "Check your network connections"
they say "Click the green button labelled Start in the lower left corner of your screen and look for the option called control panel... etc.
jasonh1234
 
Posts: 3
Joined: Thu Feb 05, 2009 5:37 am

Re: finished site

Postby Dirk Einecke » Mon Mar 08, 2010 7:36 pm

Hi,

jasonh1234 wrote:Dirk... Please read nycentral13's last post again.
He's 100% right.

You assume people know more than they do and just leave us feeling frustrated and lost.

I know, but we can not answer all questions about "How to use Wordpress", "How to use a ftp client" or "How to use a text editor". Sorry.

Dirk
Best Regards / Mit freundlichen Grüßen
Dirk Einecke (MAMP-Team)

All about MAMP & MAMP PRO: Website | Bugbase | Blog (german) | Blog (english) | NEW: Online documentation (Wiki)
MY MAMP DUMP - Mac OS X Automator workflow to dump databases of MAMP and/or MAMP PRO.

MAMP & MAMP PRO 1.9 released (with PHP 5.3) | MAMP & MAMP PRO 1.9 veröffentlicht (mit PHP 5.3)
Dirk Einecke
Site Admin
 
Posts: 573
Joined: Thu Nov 04, 2004 11:11 am
Location: Karlsruhe (Germany)

Re: finished site

Postby emkwan » Mon Mar 15, 2010 7:49 am

Its funny as I read down through this post I actually thought I would find the answer. Dirk. Thanks for the basic help but many of us are noObs here and me included. Just a little detail would be very helpful... Please :-)
emkwan
 
Posts: 2
Joined: Sat Mar 13, 2010 11:18 pm


Return to General questions

Who is online

Users browsing this forum: Google [Bot] and 5 guests