New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Web deployment, ftp & .php: the deliberations of a noob


Post Reply New Thread Subscribe

 
Thread Tools
hojkoff_101

 
hojkoff_101's Avatar
 
Member Since: Oct 18, 2005
Location: Edinburgh Scotland
Posts: 225
hojkoff_101 is an unknown at this point
Mac Specs: Macbook 2.1GHz Intel Core 2 Duo, 4Gb RAM

hojkoff_101 is offline
Ok, firstly I'm pretty new to web design and am really quite enjoying it so far, but I do have a few questions.

If I sit at my desk and develop a number of webpages, such as

index.html
helloworld.html
.......
contactus.html
main.css

and I stick them all in a folder, do I just upload that folder via ftp to a web server and then the world can see see my website?

If I was to buy a domain name, such as http://www.andy4prez.com am I buying space on a web server as well that I can push the folder to or do I have to pay costs for a web server and a domain name?

With regards to .php files and MySQL, where do I actually put the database? Is that also just added to the folder that gets sent to the web server or do you have to make special provisions for a database, or must it be placed in a special location to function correctly?

Are websites ever made up of .html and .php pages or should that really be avoided?

I've been using MAMP to get started and play with .php files. So far I've just been pushing my test .php files through Apache and MySQL locally to experiment but is there any way to open this up to the internet? ie. can I leave MAMP on in my room and access the pages that I have in the relevant folders at another location?

Cheers!

QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,097
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
I wouldn't recommend you use MAMP as an external server. As per their philosophy: "MAMP was created primarily as a PHP development environment for Macintosh computer and should therefore not be used as Live Webserver for the Internet. In this case, we recommend that you use Mac OS X server with the provided Apache or a Linux server."

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks

Post Reply New Thread Subscribe


« Configuring Multiple Web Sites with single IP on web server running Snow Leopard | Resetting websettings on snow leopard »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
OS X.26 - FTP allows login, but then closes after cwd to folder funky Web Design and Hosting 2 01-27-2005 11:43 PM

All times are GMT -4. The time now is 03:53 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?