Some of them is marketing the rest is SEO. I have designed sites for people who just wanted a website. No SEO optimization. They probably never heard of meta tags and keywords. Eventually they email me saying something is wrong they have no traffic. I ask what have you done to market the site? Craigslist, Adwords, Google Groups, Blogger? The average person thinks you put the site up and wallah your good to go. Not likely, chances are you will be the last page on search results. I started the website and advertising a month or so before I opened my business. Knowing that it takes a few weeks to be indexed. Now I have the opposite problem. I have to hit the streets and knock on doors. Of course the flier points to the website.