The Old Cock Inn, in Halifax town centre, will host the free event on August 13 and 14.
It will feature 11 acts over the two days, and Calderdale Council have given the pub permission to use the adjacent street for the weekend.
The event will feature a large stage, outside bars and food stalls.
Mecca Bingo Halifax is set to close this weekend - venue plans to go out with a bang with events and prizes
Brighouse IT specialist launches new brand to support legal sector
Popular Halifax bar Gin Lane announces new premises in town centre
Halifax town centre pub to host first music festival later this month
Mecca Bingo club in Halifax to close next month
Owner Mark Gledhill said: "Hopefully will be first of many such events.
"We were hoping the name would gather a little bit of traction.
"We had few ideas with names, we weren't sure if 'Old Cock Fest' was better, but it actually sounded worse to us.
"But it's just a bit of fun.
"We're hoping it will kick off regular live music for us."
The event is being sponsored by Bradfield Brewery, Heineken Brewery, Discover Halifax and Forest Hill Transport.