Web Hosting

M

msett

Guest
I want a place to host my website that is free with limited pop ups and stuff. I have a .mac account but cant figure out if I can use it to host website. I just see there werid website thing on it. Help me out.
Matt
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
I'm not sure how .mac works, I stopped using it when it ceased becoming free - but if I remember correctly, mount your iDisk and find the folder that is named something to do with the net - 'sites' or 'web' or 'public' I think. Put your files in there and then your pages are accessible from the net.

If it's just a site for personal use you can also turn on internet sharing in sharing preferences. That will start the built in apache webserver and people can view your pages from a url something like http://your-ip.yourisp.com (it'll tell you the full url in sharing when you turn it on).
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
Oh, PS: dont' go for free hosting services if you have .Mac; its a shame to pay all that money and not use it to its full extent. Also, free, ad-supported services tend to be very unreliable and not worth the hassle.
 
OP
M

msett

Guest
Thanks guy! You guys have all been helping me out a lot with my new mac. I treid to run apache right off the computer. But I couldn't acces it on other computers. Whats up with that?
Matt
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
Your own computer needs to be online for others to access it. Go into sharing preferences, and click on personal websharing. Start it up if it isn't already, and once it is, you'll see a little note just above where you turned it on saying something like 'other users can access your sites from http://ip-230-246-83-1.yourisp.com'.

You can also view your sites locally by just going to http://127.0.0.1/~yourusername (I think). Any pages you put in your sites directory in your home folder will be shown there. If you want your sites accessible from just 127.0.0.1/ (no username) you can put your html files in Macintosh HD > Library > WebServer > Documents.

If you search on google for apache tutorials you'll find some good stuff. It doesn't matter if you find a tutorial for apache on mac os x or linux, they're basically the same.

If you're still having troubles, I'll post a couple of screenshots for you if you want.
 
Joined
Jul 22, 2003
Messages
6,999
Reaction score
187
Points
63
Location
Hamilton College
Your Mac's Specs
20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
muso do you have any idea of how i would be able to use apache on my powerbook since im connected through a router which gives my one of those standard 192.168.1.121 ip address
 
Joined
Jun 11, 2003
Messages
4,915
Reaction score
68
Points
48
Location
Mount Vernon, WA
Your Mac's Specs
MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
You are using apache, but my guess is that you want outside access to your web server on your powerbook? If so you have to access your routers software and change the configuration in there and allow outside traffic through. Most all routers do not allow outside access, unless you specify.
 
Joined
Jul 22, 2003
Messages
6,999
Reaction score
187
Points
63
Location
Hamilton College
Your Mac's Specs
20" iMac C2D 2.16ghz, 13" MacBook 2.0ghz, 60gb iPod vid, 1gb nano
alright i will take a look.....its just a regular d-link router although i sometimes use a linksys wireless when i feel like working in bed
 
Joined
May 12, 2004
Messages
81
Reaction score
0
Points
6
Location
Atlanta, GA
Your Mac's Specs
15" MacBook Pro, 2.16Ghz, 1GB ram
muso said:
Oh, PS: dont' go for free hosting services if you have .Mac; its a shame to pay all that money and not use it to its full extent. Also, free, ad-supported services tend to be very unreliable and not worth the hassle.

I too have a .Mac account and I tried putting up a site I made on Dreamweaver but for some reason, I cannot get the pictures on the page to site when I add my site to the sites folder of my idisk. Anyone know how that works? I did upload the picture to the idisk too. :confused:
 
Joined
Mar 27, 2004
Messages
738
Reaction score
0
Points
16
Location
China
Your Mac's Specs
Dual 2.2GHz powered by AMD Opteron - *Sends G5 & 8Gb Ram to scrap heap* Yeah! finally switched BACK!
dreamhost.com
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
iaminvincible, your image tags might not be relative. Look in your code (open one of your html files with text edit) and find somewhere it says <img src=" "> - if the text inside the quotes is not something simple like "images/top.gif" or just "top.gif" then the images won't display online.
 
Joined
May 12, 2004
Messages
81
Reaction score
0
Points
6
Location
Atlanta, GA
Your Mac's Specs
15" MacBook Pro, 2.16Ghz, 1GB ram
muso said:
iaminvincible, your image tags might not be relative. Look in your code (open one of your html files with text edit) and find somewhere it says <img src=" "> - if the text inside the quotes is not something simple like "images/top.gif" or just "top.gif" then the images won't display online.

well this is what it says:
<p><img src="Image-CE203D17C39711D8.jpg" width="796" height="599" /></p>
you see, I looked at the sites folder in my idisk, and what I have noticed, is that there are no image files in the sites folder. There are only html documents there which are my other webpages I have made using their templates on the .mac site. So I don't know how those pages in the sites folder are linked to the pictures in my 'pictures' folder in my idisk. but dreamweaver does not let me link my photos from photos in my idisk. and ofcourse, putting the photos that are in the page i made, in the sites folder doesn't work.
 
Joined
Jan 15, 2003
Messages
4
Reaction score
16
Points
3
Location
Whangarei, New Zealand
Your Mac's Specs
Pwnt
What that image tag tells the browser to do is look in the same directory that the html file is in for an image called Image-CE203D17C39711D8.jpg. If you added a "images/" before the image name then the browser would look in the directory the html file is in for a folder called images and look for the image file in there. So you need to put your image files in the same folder as your html file is. I suggest you just drag all the images you use (presuming they're named as above) into the folder which your html files are in.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top