How to publish my website using HTML-CSS

How to publish my website using HTML-CSS

Where do u want to publish the website? On hosting server?

@Micconfy You can add your HTML and CSS to Codepen. There everyone will be able to see it.

Not on a Hosting Server. Can i host it by myself? How do i go about this? Please help

How do i add it ? please help me .

Are you trying to host a website with custom url and everything? Or are you just trying to have a place to show your projects? codepen.io is a front end hosting service for full on websites or just front end, what they call pens. github also offers a way to host web based projects but I personally am not super familiar with it. Although looking at your profile you seem to be new. Just taking the classes on FCC will get you to where u want to be. It’s a long journey but defiantly worth the effort!

Can you please be more specific about where you are looking to publish your site?

  • Do you have a domain name? Do you want one?
  • Do you have shared web hosting purchased?
  • Are you looking to host for free?
  • Do you know how to use git and github?
1 Like

I recommend GitHub pages if you want to deploy your static website.
This is how your website will look on GitHub pages :
https://kunalbagnial.github.io/marketone/

1 Like

Thanks so much. I’m looking to host for free. i don’t have a Domain name yet but i want one . please help how do i go about it ?

Thanks Kunal . how do i get a Domain name for my site
I want my site to be public though i’m still working on it please help

You will have to purchase a domain name if you want your own domain, for example this is a good place to buy them: https://domains.google/#/

Otherwise, you can host your website for free using github pages: https://pages.github.com/

@Micconfy Actually, Netlify is a great place to host your finished website. Codepen in a good online editor to work on it while in the development phase. You can watch a video on how to add your website to Netlify. It is as easy as creating an account and dragging and dropping a folder with your project inside.

First buy a free domain name from freenom.com and then host it for free with infinity free for step by step procedure i can send u a video tutorial if u want help

1 Like

My personal recommendation is to learn linux first. At least the basics.

But if you’re just looking to get a website up fast:

Buy a domain. ie www.godaddy.com
Buy a shared server: www.godaddy.com or www.hostgator.com or http://bit.ly/2KgNKtZ

The last link I’m biased towards it, because I use Media Temple.

Then upload your html into your index.html file, typically located in your /var/www/html/ folder.

Also., if you’re on a Mac., you can run your site on localhost for development.

Same goes for Linux.

If you’re on Windows you can download a VB (VirtualBox) and install Linux.

Namebright.com is a great registrar if youre looking for a domain. Its one of the cheapest I’ve found besides Freenom. Namebright also gives you free privacy for the first year, and for only a dollar annually for every year after.