SAN FRANCISCO — AOL Inc.’s $315 million deal to buy news hub Huffington Post signals that it is serious about building its profile as a media company as its legacy dial-up Internet business dies away.

The acquisition announced Monday is AOL CEO Tim Armstrong’s most aggressive play so far as he tries to reshape a fallen Internet icon and boost efforts in news and online advertising. It is the largest purchase the company has made under Armstrong, a former Google advertising executive hired by AOL to engineer a turnaround.

The Huffington Post ranks as one of the top 10 current events and global news sites and draws 25 million U.S. visitors each month. It has built its popularity by compiling news from a wide selection of other media outlets, with links to articles and video on everything from politics to style to food. The site combines that type of aggregation with original work by its own small staff and blog posts from celebrity contributors who work for free in return for a platform to express their opinions. Bill Gates has written for The Huffington Post, along with President Obama, Robert Redford and several university presidents.

But just as important as gaining the site itself, the deal adds Huffington Post co-founder and media star Arianna Huffington to AOL’s management team. Once the deal closes later this year, Huffington will run AOL’s growing array of content, which includes popular technology sites Engadget and TechCrunch, local news site and online mapping service MapQuest.

Although some analysts say that AOL is paying a lot for the Huffington Post brand, Benchmark Co. analyst Clayton Moran says the price isn’t a huge hit for the company in the short term, especially since it helps put to rest any question that AOL is now an online media company. Bringing Huffington Post to AOL gives it access to quality content and will drive new users to its site, replacing those the company has lost over time, he said. And the price is essentially “the hiring fee to get Arianna,” technology analyst Rob Enderle says. Although he described the purchase as an “out-of-left-field” decision, he thinks the move “could put AOL back on the map.”

Huffington Post grew quickly from startup to online colossus. Over time, it launched city-specific pages and developed a roster of sections such as food and books. The work of its 70-person paid staff is augmented by content from news outlets and 6,000 bloggers who write for free. Outsell Inc. analyst Ned May said The Huffington Post “has done a fantastic job of building content creation. And AOL can monetize it.”

AOL sorely needs to. The company rose to fame in the ’90s with its dial-up Internet service, managing to buy media company Time Warner Inc. in 2001 at the height of the dot-com boom. The corporate marriage never really worked, though, and AOL’s main source of revenue began drying up as consumers flocked to speedier broadband Internet connections. After nearly a decade of attempts at integrating the two, Armstrong was brought in to prepare AOL to separate from Time Warner, and the companies split in Dec. 2009.

Although analysts say AOL’s decision to buy Huffington Post is sound, Enderle warned that putting Arianna Huffington into a position of power could eventually threaten Armstrong’s job security if AOL still struggles.

Gartner analyst Andrew Frank added that the deal is risky in the sense that media acquisitions are inherently risky these days.

“There is a lot of effort ahead for online media to recapture the glory days when media was booming business,” he said. “Deals like this offer hope. On the other hand you can’t really dismiss the somewhat uneven record AOL has had with acquisitions.”

Beyond Time Warner, another of AOL’s well-known failed acquisitions was social network Bebo, which AOL bought in 2008 for $850 million and then unloaded two years later to Criterion Capital Partners for an undisclosed amount thought to be a fraction of what it paid.

Regardless, both parties clearly feel optimistic about this deal. In a blog post, Arianna Huffington praised Armstrong’s vision for AOL and said they were on the same page as they discussed their ambitions for online news. “We were practically finishing each other’s sentences,” Huffington wrote. She said the deal was signed at the Super Bowl in Dallas.

In an interview Monday, Armstrong said, “Last year was about the turnaround; this year is about the comeback,” he said.