One more webspace question.

Discussion in 'Web Design and Development' started by Quboid, Jan 14, 2007.

  1. Quboid macrumors 6502

    Joined:
    Oct 16, 2006
    Location:
    everywhere
    #1
    I am alittle confused. When one goes to system preferences >> Sharing>> services and turns of personal web sharing, you get the option to view you personal website. Which is appearantly webspace that you got with the computer.
    Is this really so?
    If yes, can I upload my website(that i just finished building) there(without being a .mac member)?
    IF yes, how can i so that?

    Thanks a million

    ps. I'm very new to web designing.
     
  2. swiftaw macrumors 603

    swiftaw

    Joined:
    Jan 31, 2005
    Location:
    Omaha, NE, USA
    #2
    To the best of my knowledge.

    OS X includes Apache which means that your Mac effectively can act like a web server. You can create a web site, put it in the Sites folder, turn on web sharing and then people can see your website.

    All the files are on your Mac, and your Mac is the webserver, you are not uploading the files to an external server.

    Of course, in order for others to see your website they will need to know the IP address.
     
  3. chepistolas macrumors member

    chepistolas

    Joined:
    Apr 21, 2005
    Location:
    Chicago
    #3
    Yes dude you can.

    If you would like to host just one or two websites on your mac I would recommend putting your files in:

    Hard Drive/Library/Web Server/Documents/

    If you place the site here then you would have a url of http://youripaddress.com/

    If you decide to place the site in your home folder's area, for example
    /luigomez/sites/ you would have a url of:
    http://youripaddress/~username/

    If you do this, you can host as many sites as there is users, but with long links.

    Once you do that all you have to do is fix the port forwarding in your router to send the traffic to the mac that is hosting.

    unless you have a great connection to the computer hosting the site, I would not recommend hosting it there. Cable connections usually have around 700Kb/s upload or less and if you have numerous people connecting it will sabotage your internet usage at home. You also have to leave the computer on or the site goes down. Personally I would not do this unless I was testing a website before I set it out to the wild, with cheap hosting rates from godaddy and others, I save more paying the $3 a month than keeping my computer on at all times wasting my internet, energy, and damaging my pc by leaving it on 24/7.

    Hope this helps, cheers.

    Edit. From what I can remember, Mac OS X comes with apache and you turn in on when you select personal web sharing. If you do decide to install PHP or MySQL you would have to download them and install them.
     
  4. Quboid thread starter macrumors 6502

    Joined:
    Oct 16, 2006
    Location:
    everywhere
    #4
    Wouldn't it a be a risky thing hosting having a URL equal to my IP address.
     
  5. chepistolas macrumors member

    chepistolas

    Joined:
    Apr 21, 2005
    Location:
    Chicago
    #5
    O that example was to show you how the structure works. I don't know about how secure it might be to point to your site with only numbers but you can always forward a domain name to your ipaddress instead.
     
  6. Quboid thread starter macrumors 6502

    Joined:
    Oct 16, 2006
    Location:
    everywhere
    #6
    Thanks guys, everything seems to work fine except for the picture.
    None of the pictures are working.
     
  7. chepistolas macrumors member

    chepistolas

    Joined:
    Apr 21, 2005
    Location:
    Chicago
    #7
    Why, what did you do? where are your pictures hosted? Are they in the same spot as the index file?
     
  8. Quboid thread starter macrumors 6502

    Joined:
    Oct 16, 2006
    Location:
    everywhere
    #8
    i made the site in dreamveaver. And the pictures are in a folder.
    But even the logo won't load. And it's saved in the site folder.
     

Share This Page